POST/v1/integration/example-entitlements
Create example entitlement
Creates an example entitlement for the account. Enforces the example_entitlement quota (and optional credit wallet overage).
operationIdexampleEntitlement.storeExample entitlementsرمز Bearer
المصادقة
رمز Bearer بقدرة integration. أنشئ الرموز من الإعدادات → API.
Authorization: Bearer <integration-personal-access-token>
مثال الطلب
curl -sS -X POST 'https://api.asklytic.com/v1/integration/example-entitlements' \
-H 'Authorization: Bearer $INTEGRATION_TOKEN' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{}'جسم الطلب
application/jsonالاسم
النوع
مطلوب
name
string
مطلوب
الاستجابات
`ExampleEntitlementResource`
الاسم
النوع
مطلوب
data
ExampleEntitlementResource
مطلوب
id
integer
مطلوب
name
string
مطلوب
slug
string
مطلوب
is_pinned
boolean
مطلوب
created_at
string | null
مطلوب
updated_at
string | null
مطلوب
Unauthenticated
الاسم
النوع
مطلوب
messageError overview.
string
مطلوب
Authorization error
الاسم
النوع
مطلوب
messageError overview.
string
مطلوب
Validation error
الاسم
النوع
مطلوب
messageErrors overview.
string
مطلوب
errorsA detailed description of each field that failed validation.
object<string, array<string>>
مطلوب