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\": \"8fa5960e-e5c1-499f-935b-4b183d27b78d\",
  \"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.