v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
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

namestring required

A globally unique name for the container registry. Must be lowercase and be composed only of numbers, letters and -, up to a limit of 63 characters.

Example request

{
  "name": "example"
}

Response

The action was successful and the response body is empty.