registries
Update a registry
Update a registry Access policy: restricted
put/registries/{id}
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"
}