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/registry/subscription
.
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
req = {
"tier_slug": "basic"
}
resp = client.registry.update_subscription(body=req)
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.