Skip to main content
POST
/
api
/
v1
/
plan-entitlement-quota
Create a new plan entitlement quota
curl --request POST \
  --url https://dev-entitlements-api.iqraa.ai/api/v1/api/v1/plan-entitlement-quota \
  --header 'Content-Type: application/json' \
  --header 'x-admin-api-key: <x-admin-api-key>' \
  --data '
{
  "planId": "35374269-8fc3-43cd-adfd-038dac3da462",
  "entitlement": "16d390da-222b-453f-b4fa-fd6a726309c3",
  "quota": 10
}
'
{}

Headers

x-admin-api-key
string
required

The API key to access the admin API

Body

application/json
planId
string
required

The unique identifier of the plan

Example:

"35374269-8fc3-43cd-adfd-038dac3da462"

entitlement
string
required

The unique identifier of the entitlement

Example:

"16d390da-222b-453f-b4fa-fd6a726309c3"

quota
number
required

The quota limit (-1 for unlimited)

Example:

10

Response

Plan entitlement quota created successfully

The response is of type object.