addOwner

@PUT(value = "api/v2/depots/{depot}/owners/{owner}")
abstract fun addOwner(@Path(value = "depot") depotString: String, @Path(value = "owner") owner: String, @Header(value = "dataos-correlation-id") correlationId: String = UUID.randomUUID().toString()): Call<DepotResponse>

Adds an owner to the specified depot.

Return

A Call object representing the API call.

Parameters

depotString

The name of the depot.

owner

The name of the owner to add.

correlationId

A unique identifier for correlating logs and metrics.