curl -X POST \
/entitlement/feature-assignments \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"feature": "https:\/\/example.com\/",
"value": "",
"validFrom": "",
"validUntil": "",
"objectId": "",
"applyToExistingSubscriptions": ""
}'
{
"id": "<string>",
"object": "product-price",
"objectId": "<string>",
"feature": {
"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>"
},
"name": "<string>",
"value": "<string>",
"validFrom": "2023-11-07T05:31:56Z",
"validUntil": "2023-11-07T05:31:56Z"
}
Creates a Feature resource.
curl -X POST \
/entitlement/feature-assignments \
--header "Content-Type: application/json" \
--header "Authorization: Bearer <token>" \
--data '{
"feature": "https:\/\/example.com\/",
"value": "",
"validFrom": "",
"validUntil": "",
"objectId": "",
"applyToExistingSubscriptions": ""
}'
{
"id": "<string>",
"object": "product-price",
"objectId": "<string>",
"feature": {
"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>"
},
"name": "<string>",
"value": "<string>",
"validFrom": "2023-11-07T05:31:56Z",
"validUntil": "2023-11-07T05:31:56Z"
}
Value for the Authorization header parameter.
The new Feature resource
Assign a feature
Feature resource created
Get feature assignments
Was this page helpful?