Skip to main content
POST
Create a subscription entitlement

Headers

x-admin-api-key
string
required

The API key to access the admin API

Body

application/json
subscriptionId
string
required

The ID of the subscription

Example:

"123e4567-e89b-12d3-a456-426614174000"

planId
string
required

The ID of the plan

Example:

"123e4567-e89b-12d3-a456-426614174001"

entitlementCode
string
required

The code of the entitlement

Example:

"storage_quota"

quota
number
required

The quota value (-1 for unlimited)

Example:

1000

Response

Subscription entitlement created successfully