Skip to content

Update organization subscription plan

POST
/subscriptions/organization/:organizationId/subscription

Update the subscription plan for an organization (admin only)

object
organizationId
required
string
planId
required
string
status
string

OK

object
id
required
string
organizationId
required
string
planId
required
string
status
required
string
startDate
required
endDate
required
Any of:

401

One of:
object
defined
required
code
required
Allowed value: UNAUTHORIZED
status
required
Allowed value: 401
message
required
string
default: Missing user session. Please log in!
data

403

One of:
object
defined
required
code
required
Allowed value: FORBIDDEN
status
required
Allowed value: 403
message
required
string
default: You do not have enough permission to perform this action.
data

422

One of:
object
defined
required
code
required
Allowed value: INPUT_VALIDATION_FAILED
status
required
Allowed value: 422
message
required
string
default: INPUT_VALIDATION_FAILED
data