DigitalOcean-public.v2-new_Container Registries
[Public Preview] Validate a Container Registry Name
To validate that a container registry name is available for use, send a POST request to /v2/registries/validate-name.
If the name is both formatted correctly and available, the response code will be 204 and contain no body. If the name is already in use, the response will be a 409 Conflict.
It is similar to /v2/registry/validate-name and exists for backward compatibility.
post/v2/registries/validate-name
Request body
Example request
{
"name": "example"
}Response
The action was successful and the response body is empty.