Entitlements

Partial update of entitlements

Update privilege values for one or more plan entitlements. Any new privileges or features you provide will be added. Existing values are overwritten if duplicates are found. Items not included in the request will be left unchanged.

patch/plans/{plan_code}/entitlements

Request

Path parameters

plan_codestring required

The unique code of the plan

Request body

Example request

{
  "entitlements": [
    {
      "feature_code": "USER-SEATS",
      "feature_privilege_values": {
        "rate_limit": 1000,
        "endpoints": "all"
      }
    }
  ]
}

Response

Entitlements updated successfully

Example response

{
  "entitlements": [
    {
      "feature_code": "USER-SEATS",
      "name": "Number of seats",
      "description": "Number of users of the account",
      "feature_privileges": [
        {
          "code": "max",
          "name": "Maximum",
          "value_type": "INTEGER",
          "config": {
            "select_options": [
              "google",
              "okta",
              "azure"
            ]
          },
          "value": 100
        }
      ]
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.