Skip to main content
PATCH
/
catalog
/
plans
/
{identifier}
/
features
/
{feature_id}
Update plan entitlement
curl --request PATCH \
  --url https://api.kelviq.com/api/v1/catalog/plans/{identifier}/features/{feature_id}/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "details": {
    "value": 10000,
    "hasUnlimitedUsage": false,
    "reset": "EVERY_MONTH",
    "resetTime": "BEGINNING_OF_PERIOD",
    "rollover": {},
    "usageAlerts": {
      "enabled": true,
      "thresholds": [
        75,
        90
      ],
      "thresholdType": "PERCENTAGE"
    },
    "hardLimit": false,
    "isInherited": false,
    "isValueOverridden": false
  }
}
'
{
  "details": {
    "value": 20000,
    "hasUnlimitedUsage": false
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.kelviq.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The Server API Key obtained from the kelviq application. Pass as a Bearer token in the Authorization header. Example: 'Authorization: Bearer YOUR_API_KEY'

Path Parameters

identifier
string
required

Plan identifier.

feature_id
string
required

Feature identifier (slug, not UUID).

Body

application/json

Updates only the entitlement details for a single feature on the plan.

details
object
required

Per-feature entitlement configuration on a plan. Shape varies by feature_type.

Response

Entitlement updated.