Chooses the plan of a new organization and ends onboarding. Only the owner can do this. Calling it again only changes the plan.
HTTP
POST /org/onboardingAccess: Session token only. API keys get 403 with insufficient_scope.
Request body #
JSON
{ "plan": "free" }| Field | Type | Required | Description |
|---|---|---|---|
plan | string | yes | The id of one of the plans in List plans. |
Response 200 #
The same overview as Get billing, with onboarding set to false.
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 403 | forbidden | You are not the owner of the organization. |
| 422 | invalid_request | The plan is unknown or not available, or the organization already uses more than the plan allows. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.