PATCH/v1/integration/example-entitlements/{exampleEntitlement}

Update example entitlement

Updates the name and/or pin state of an example entitlement. Pinning enforces the example_entitlement_pins seat quota.

operationIdexampleEntitlement.updateExample entitlementsBearer token

Authentication

Bearer token with the integration ability. Create tokens in Settings → API.

Authorization: Bearer <integration-personal-access-token>

Example request

curl -sS -X PATCH 'https://api.asklytic.com/v1/integration/example-entitlements/{exampleEntitlement}' \
  -H 'Authorization: Bearer $INTEGRATION_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{}'

Parameters

Name
In
Type and rules
exampleEntitlementRequired
path
integer

Request body

application/json
Name
Type
Required
name
string
optional
is_pinned
boolean
optional

Responses

`ExampleEntitlementResource`

Name
Type
Required
data
ExampleEntitlementResource
Required
id
integer
Required
name
string
Required
slug
string
Required
is_pinned
boolean
Required
created_at
string | null
Required
updated_at
string | null
Required