Set an organization's plan
Changed onSets the organization's plan and how many users it allows, counting pending invitations; every way people join (invitations, SSO, SCIM) enforces it unless a paid Stripe plan bills every user. Body: { tier: "free" | "team" | "enterprise", seatLimit: integer (users allowed, at least 5), endsAt?: "YYYY-MM-DD" | null }. endsAt is a display-only end date for Team and Enterprise and is refused for Free. Never changes Stripe. Returns the resolved plan.
Request
- Base URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Path parameters
Response
The plan was updated.
Changes
- info
removed the
stripe_enterpriseenum value from theorganization/plan/paidByresponse property for the response status
- info
- info
added the required property
organization/idto the response with the status - info
added the required property
organization/planto the response with the status
1 more change in this revision
- info