Skip to main content
PATCH
/
api
/
v1
/
plan-entitlement-quota
/
{id}
Update a plan entitlement quota
curl --request PATCH \
  --url https://dev-entitlements-api.iqraa.ai/api/v1/api/v1/plan-entitlement-quota/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-admin-api-key: <x-admin-api-key>' \
  --data '
{
  "name": "<string>",
  "entitlement": "16d390da-222b-453f-b4fa-fd6a726309c3",
  "description": "<string>",
  "quota": 123,
  "unit": "<string>"
}
'
{}

Headers

x-admin-api-key
string
required

The API key to access the admin API

Path Parameters

id
string
required

ID of the plan entitlement quota to update

Body

application/json
name
string

The name of the plan entitlement quota

entitlement
string

The unique identifier of the entitlement

Example:

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

description
string

The description of the plan entitlement quota

quota
number

The quota for the plan entitlement

unit
string

The unit of measurement for the quota

Response

Successfully updated the quota

The response is of type object.