Manual
CLI
API
Log in Get started free

Change the plan

Switches the organisation to another plan. There is no payment provider behind the plans yet, so switching is free.

Switches the organisation to another plan. There is no payment provider behind the plans yet, so switching is free.

HTTP
PUT /org/billing/plan

Access: Session token only. API keys get 403 with insufficient_scope.

Role: Organisation owner.

Request body #

JSON.

FieldTypeRequiredDescription
planstringyesThe id of a plan from List plans. Currently only free.
JSON
{ "plan": "free" }

Response 200 #

The overview after the change, as in Get billing.

Errors #

StatuserrorWhen
401unauthenticatedThe token is missing or not valid.
403forbiddenYou are not the owner of the organisation.
422invalid_requestplan is unknown or not offered (invalid), or the organisation uses more than the new plan allows (plan: over_limit, with over listing each limit, used and max).
429rate_limitedToo many requests, see Rate limiting.

See Errors for the error format.