Billing
Move to a cheaper plan
Takes effect from the next charge.
To upgrade, or to switch between monthly and yearly, cancel and subscribe to the new plan.
Authentication
A signed-in session: the cookie from Log in. Changes also need the X-CSRF-Token header.
Body
planstringrequiredThe cheaper plan.
intervalstringoptionalMust match the current subscription.
Response
200 OK
subscriptionobjectThe subscription, with scheduled_plan set.
Errors
| Status | Code | What to do |
|---|---|---|
| 409 | no_subscription | There's nothing to change. |
| 409 | same_plan | It's already on this plan. |
| 409 | plan_change_not_supported | Cancel and subscribe to the new plan instead. |
| 401 | unauthenticated | Log in first, or log in again. |
| 403 | csrf_failed | Send the csrf_token as X-CSRF-Token. |