PUT
/
organizations
/
{organizationId}
/
billing
/
subscription
/
coupon

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

organizationId
string
required

ID of organization

Required string length: 36

Body

application/json
coupon
string
required
Maximum length: 255

Response

200 - application/json
hasPaymentMethod
boolean
required
planType
enum<string>
required
Available options:
free,
advanced,
enterprise,
standard
inTrial
boolean
required
scope
string[]
required
version
string
required
billingPortalUrl
string
billingPortalAddPaymentMethodUrl
string
trialStart
string
trialEnd
string
trialDaysLeft
number
currentBillingPeriod
object
shouldLockEnvironmentSwitch
boolean
coupons
object[]