Skip to main content
GET
/
api
/
v1
/
agency
/
billing
/
subaccount
/
change_billing_plan
Change the billing plan of a subaccount
curl --request GET \
  --url 'https://api.example.com/api/v1/agency/billing/subaccount/change_billing_plan?api_key='
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

api_key
string
query
required

Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.

Query Parameters

agency_id
string<uuid>
required
subaccount_user_id
string<uuid>
required
new_billing_plan_id
string<uuid> | null
required

Response

Successful Response