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 entitlementsرمز Bearer

المصادقة

رمز Bearer بقدرة integration. أنشئ الرموز من الإعدادات → API.

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

مثال الطلب

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 '{}'

المعاملات

الاسم
الموضع
النوع والقواعد
exampleEntitlementمطلوب
path
integer

جسم الطلب

application/json
الاسم
النوع
مطلوب
name
string
اختياري
is_pinned
boolean
اختياري

الاستجابات

`ExampleEntitlementResource`

الاسم
النوع
مطلوب
data
ExampleEntitlementResource
مطلوب
id
integer
مطلوب
name
string
مطلوب
slug
string
مطلوب
is_pinned
boolean
مطلوب
created_at
string | null
مطلوب
updated_at
string | null
مطلوب