PUT   private-repository/associate

Associates a Docker repository with a specified geolocation for the current customer.

Remarks

Use GET private locations route to get the list of private locations having values applicable for geoloc.
Use GET private repositories route to get the list of private repositories having values applicable for repo_id.

Request example and description

curl --request PUT "https://api-asm1.apica.io/v3/private-repository/associate?auth_ticket=C471ADC4-19B4-4219-BBF4-671A97EC653E" --header "Content-Type: application/json" --data-raw "{
  \"Repository_Id\": \"f8af34e2-7484-4927-ac41-65d41ebc26be\",
  \"Geolocation\": \"sample string 2\"
}"
NameType Required Description
Repository_Id Guid Yes

Repository Id.

Geolocation String Yes

Indicates private location.

Response body model example and description

A task that represents the asynchronous operation.