Skip to main content
POST
/
api
/
subscription
/
change
Change the subscription plan of the current organization
curl --request POST \
  --url https://api.example.com/api/subscription/change \
  --header 'Content-Type: application/json' \
  --data '
{
  "variant_id": 123
}
'

Body

application/json
variant_id
number
required

The variant ID for the new subscription plan

Response

200

Subscription plan changed successfully