pydo.registry.delete()
Generated on 6 Feb 2026
from pydo version
v0.26.0
Description
Note: This endpoint is deprecated. Please use the /v2/registries endpoint instead.
To delete your container registry, destroying all container image
data stored in it, send a DELETE request to /v2/registry.
This operation is not compatible with multiple registries in a DO account. You should use /v2/registries/{registry_name} instead.
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.registry.delete()More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.