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 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 POST 'https://api.asklytic.com/v1/integration/example-entitlements' \
-H 'Authorization: Bearer $INTEGRATION_TOKEN' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{}'Request body
application/jsonName
Type
Required
name
string
Required
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
Unauthenticated
Name
Type
Required
messageError overview.
string
Required
Authorization error
Name
Type
Required
messageError overview.
string
Required
Validation error
Name
Type
Required
messageErrors overview.
string
Required
errorsA detailed description of each field that failed validation.
object<string, array<string>>
Required