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
}
Creates a Feature resource.
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
}
Value for the Authorization header parameter.
The new Feature resource
Create a new entitlement feature.
Feature resource created
Get a entitlement feature.
Was this page helpful?