Updates the configuration of a feature on the entitlement.
const url = 'https://example.com/api/v1/provision/admin/entitlements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/features/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"featureCode":"example","value":"example","isAvailableDuringTrialPeriod":true,"isEnabled":true,"isPaidFeature":true,"featureExpiration":"2026-04-15T12:00:00Z","clearFeatureExpiration":true}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/provision/admin/entitlements/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/features/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \ --header 'Content-Type: application/json' \ --data '{ "featureCode": "example", "value": "example", "isAvailableDuringTrialPeriod": true, "isEnabled": true, "isPaidFeature": true, "featureExpiration": "2026-04-15T12:00:00Z", "clearFeatureExpiration": true }'Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Target entitlement.
Target feature.
Request Bodyrequired
Section titled “Request Bodyrequired”Updated feature payload.
Admin request to set a feature’s entitlement-level state (value, enablement, trial availability, expiration). The feature is addressed by string UpdateEntitlementFeatureDto.FeatureCode.
object
Feature value as a string, interpreted per the feature’s data type (bool, number, enum, text, or JSON).
When true, the feature is withheld for the duration of a trial even if enabled.
When the feature stops being available. Null means the field was not sent and leaves the stored expiry untouched; use clearFeatureExpiration to remove one.
When true, removes the feature’s expiry so it follows the entitlement’s own expiration again. Sending this together with a featureExpiration is a contradiction and is refused with a 400.
Examplegenerated
{ "featureCode": "example", "value": "example", "isAvailableDuringTrialPeriod": true, "isEnabled": true, "isPaidFeature": true, "featureExpiration": "2026-04-15T12:00:00Z", "clearFeatureExpiration": true}Admin request to set a feature’s entitlement-level state (value, enablement, trial availability, expiration). The feature is addressed by string UpdateEntitlementFeatureDto.FeatureCode.
object
Feature value as a string, interpreted per the feature’s data type (bool, number, enum, text, or JSON).
When true, the feature is withheld for the duration of a trial even if enabled.
When the feature stops being available. Null means the field was not sent and leaves the stored expiry untouched; use clearFeatureExpiration to remove one.
When true, removes the feature’s expiry so it follows the entitlement’s own expiration again. Sending this together with a featureExpiration is a contradiction and is refused with a 400.
Examplegenerated
{ "featureCode": "example", "value": "example", "isAvailableDuringTrialPeriod": true, "isEnabled": true, "isPaidFeature": true, "featureExpiration": "2026-04-15T12:00:00Z", "clearFeatureExpiration": true}Admin request to set a feature’s entitlement-level state (value, enablement, trial availability, expiration). The feature is addressed by string UpdateEntitlementFeatureDto.FeatureCode.
object
Feature value as a string, interpreted per the feature’s data type (bool, number, enum, text, or JSON).
When true, the feature is withheld for the duration of a trial even if enabled.
When the feature stops being available. Null means the field was not sent and leaves the stored expiry untouched; use clearFeatureExpiration to remove one.
When true, removes the feature’s expiry so it follows the entitlement’s own expiration again. Sending this together with a featureExpiration is a contradiction and is refused with a 400.
Examplegenerated
{ "featureCode": "example", "value": "example", "isAvailableDuringTrialPeriod": true, "isEnabled": true, "isPaidFeature": true, "featureExpiration": "2026-04-15T12:00:00Z", "clearFeatureExpiration": true}Responses
Section titled “Responses”OK
Bad Request
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}