Skip to main content
PATCH
/
entitlements
/
{id}
Update Entitlement
curl --request PATCH \
  --url https://dev-entitlements-api.spectertech.ai/api/v1/entitlements/{id} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "reportable": true
}'
{
  "id": "<string>",
  "name": "<string>",
  "description": "<string>",
  "reportable": true,
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Path Parameters

id
string
required

Unique entitlement ID

Body

application/json
name
string

Updated name of the entitlement

description
string

Updated description of the entitlement

reportable
boolean

Updated flag indicating if the entitlement has usage reporting capability

Response

OK - Successful update

id
string

Unique identifier of the entitlement

name
string

Updated name of the entitlement

description
string

Updated description of the entitlement

reportable
boolean

Updated flag indicating if the entitlement has usage reporting capability

createdAt
string

Timestamp of when the entitlement was created

updatedAt
string

Timestamp of when the entitlement was last updated

I