registries
Update a registry
Update a registry Access policy: restricted
put/registries/{id}
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/registries/{id}
- Auth
- API key in header X-API-KEY
- or API key in header Authorization
Path parameters
idinteger required
Registry identifier
Request body
Example request
{
"BaseURL": "registry.mydomain.tld:2375",
"Ecr": {
"Region": "ap-southeast-2"
},
"Name": "my-registry",
"Password": "registry_password",
"URL": "registry.mydomain.tld:2375",
"Username": "registry_user"
}Response
Success
Example response
{
"Authentication": true,
"BaseURL": "registry.mydomain.tld:2375",
"Ecr": {
"Region": "ap-southeast-2"
},
"Id": 1,
"ManagementConfiguration": {
"Ecr": {
"Region": "ap-southeast-2"
},
"TLSConfig": {
"TLS": true,
"TLSCACert": "/data/tls/ca.pem",
"TLSCert": "/data/tls/cert.pem",
"TLSKey": "/data/tls/key.pem"
}
},
"Name": "my-registry",
"Password": "registry_password",
"URL": "registry.mydomain.tld:2375",
"Username": "registry user"
}Changes
No recorded changes to this operation across all 21 revisions of this API.