---
title: "Update Subscription Tier"
method: POST
path: "/v2/registry/subscription"
tags: ["DigitalOcean-public.v2-new_Container Registry"]
---

# Update Subscription Tier

`POST /v2/registry/subscription`

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`.

## Request body

- object
  - `tier_slug` 'starter' | 'basic' | 'professional' — The slug of the subscription tier to sign up for.

## Response `200`

The response will be a JSON object with a key called `subscription` containing information about your subscription.

- object
  - `subscription` Subscription
    - `tier` SubscriptionTierBase
      - `name` string — The name of the subscription tier.
      - `slug` string — The slug identifier of the subscription tier.
      - `included_repositories` integer — The number of repositories included in the subscription tier. `0` indicates that the subscription tier includes unlimited repositories.
      - `included_storage_bytes` integer — The amount of storage included in the subscription tier in bytes.
      - `allow_storage_overage` boolean — A boolean indicating whether the subscription tier supports additional storage above what is included in the base plan at an additional cost per GiB used.
      - `included_bandwidth_bytes` integer — The amount of outbound data transfer included in the subscription tier in bytes.
      - `monthly_price_in_cents` integer — The monthly cost of the subscription tier in cents.
      - `storage_overage_price_in_cents` integer — The price paid in cents per GiB for additional storage beyond what is included in the subscription plan.
    - `created_at` string, date-time — The time at which the subscription was created.
    - `updated_at` string, date-time — The time at which the subscription was last updated.

## Other responses

- `401` — Authentication failed due to invalid credentials.
- `412` — There are more than one registries in the DO account.
- `429` — The API rate limit has been exceeded.
- `500` — There was a server error.
- `default` — There was an unexpected error.

---

[API](https://skmtc.net/digitalocean/apis/digitalocean-api.md) · [All operations](https://skmtc.net/digitalocean/apis/digitalocean-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalocean/digitalocean-api/versions/cb3bf9b21459/schema)
