pydo.registries.update_subscription()
Generated on 17 Jul 2025
from pydo
version
v0.13.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
and exists for backward compatibility.
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.