pydo.registry.validate_name()

Generated on 16 Feb 2026 from pydo version v0.26.0

Description

Note: This endpoint is deprecated. Please use the /v2/registries endpoint instead.

To validate that a container registry name is available for use, send a POST request to /v2/registry/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.

Request Sample

import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

req = {
  "name": "example"
}

resp = client.registry.validate_name(body=req)

More Information

See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.