Registries
Update/replace a registry configuration
Replaces an existing registry record with the given record
put/registries/{registry}
Path parameters
registrystring path required
Query parameters
validateboolean
flag to determine whether or not to validate registry/credential at registry update time
Headers
x-anchore-accountstring
An account name to change the resource scope of the request to that account, if permissions allow (admin only)
Request body
Example request
{
"registry": "registry",
"registry_user": "registry_user",
"registry_type": "registry_type",
"registry_name": "registry_name",
"registry_pass": "registry_pass",
"registry_verify": true
}Response
Updated registry configuration
Example response
[
{
"registry": "registry",
"last_upated": "2000-01-23T04:56:07.000+00:00",
"registry_user": "registry_user",
"registry_type": "registry_type",
"created_at": "2000-01-23T04:56:07.000+00:00",
"registry_name": "registry_name",
"userId": "userId",
"registry_verify": true
}
]