POST
/
entitlement
/
features
curl -X POST \
 /entitlement/features \
 --header "Content-Type: application/json" \
 --header "Authorization: Bearer <token>" \
 --data '{
    "customId": "feature-1",
    "name": "number of users",
    "description": "This feature allows you to manage the number of users in your account.",
    "status": "active",
    "type": "switch",
    "unit": "a8b3b3b3-3b3b-3b3b-3b3b-3b3b3b3b3b3b"
}'
{
  "id": "feature-1",
  "name": "number of users",
  "description": "This feature allows you to manage the number of users in your account.",
  "status": "active",
  "type": "switch",
  "config": [
    {
      "value": "<string>",
      "label": "<string>"
    }
  ],
  "unit": "<string>",
  "productAssignmentsCount": 5,
  "productPriceAssignmentsCount": 3,
  "entitlementsCount": 15
}

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Body

The new Feature resource

Create a new entitlement feature.

Response

201
application/json
Feature resource created

Get a entitlement feature.