updateMeta

@PATCH(value = "api/v2/depots/{depot}/meta")
abstract fun updateMeta(@Path(value = "depot") depotString: String, @Body metaRequest: Map<String, Any>, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<DepotResponse>

Makes a PATCH request to update the metadata of a depot.

Return

a Call object with a response of type DepotResponse

Parameters

depotString

the name of the depot to update metadata for

metaRequest

the map containing the metadata to update

correlationId

the correlation ID to use in the request header (optional, defaults to a new UUID if not provided)