pydo.registries.update_subscription()
Generated on 16 Feb 2026
from pydo version
v0.26.0
Description
After creating your registry, you can switch to a different subscription tier to better suit your needs. To do this, send a POST request to /v2/registries/subscription. It is similar to POST /v2/registry/subscription.
Request Sample
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
req = {
"tier_slug": "basic"
}
resp = client.registries.update_subscription(body=req)More Information
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.