Skip to content

Updates an existing feature of a product; only the fields set on the body are changed.

PATCH
/api/v1/provision/admin/products/{productId}/features/{featureId}
curl --request PATCH \
--url https://example.com/api/v1/provision/admin/products/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/features/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Content-Type: application/json' \
--data '{ "moduleName": "example", "name": "example", "description": "example", "value": "example", "version": "example", "isEnabled": true, "includeInLicenseToken": true, "isAvailableDuringTrialPeriod": true, "isAvailableDuringGracePeriod": true, "canModifyValueOnEntitlement": true, "featurePath": "example", "featureCatalogId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "featureCode": "example", "meterAggregationType": "example" }'
productId
required
string format: uuid

The unique identifier of the product.

featureId
required
string format: uuid

The unique identifier of the feature to update.

Patch payload — unset/null properties are left unchanged.

object
moduleName
null | string
name
null | string
description
null | string
value
null | string
version
null | string
isEnabled
null | boolean
includeInLicenseToken
null | boolean
isAvailableDuringTrialPeriod
null | boolean
isAvailableDuringGracePeriod
null | boolean
canModifyValueOnEntitlement
null | boolean
featurePath
null | string
featureCatalogId
null | string format: uuid
featureCode
null | string
meterAggregationType
One of:
null
Example generated
{
"moduleName": "example",
"name": "example",
"description": "example",
"value": "example",
"version": "example",
"isEnabled": true,
"includeInLicenseToken": true,
"isAvailableDuringTrialPeriod": true,
"isAvailableDuringGracePeriod": true,
"canModifyValueOnEntitlement": true,
"featurePath": "example",
"featureCatalogId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"featureCode": "example",
"meterAggregationType": "example"
}

Returns the updated feature details.

object
id
string format: uuid
featureCatalogId
null | string format: uuid
featureCode
string
featurePath
null | string
moduleName
null | string
name
string
description
null | string
usageMetric
null | string
units
null | string
featureType
integer
enumOptions
Array<object>
object
value
string
description
null | string
value
null | string
version
null | string
isEnabled
boolean
includeInLicenseToken
boolean
isAvailableDuringTrialPeriod
boolean
isAvailableDuringGracePeriod
boolean
canModifyValueOnEntitlement
boolean
meterAggregationType
One of:
null
visibility
integer
isDeleted
boolean
creationTimeStamp
string format: date-time
lastUpdateTimeStamp
null | string format: date-time
revisionNumber
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/