Skip to main content
PATCH
JavaScript

Otorisasi

Authorization
string
header
wajib

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parameter Path

id
string
wajib

Entitlement ID

Body

application/json
description
string | null
integration_config
Feature Flag Config · object

Integration-specific configuration supplied when creating or updating an entitlement. The shape required matches the entitlement's integration_type.

Untagged enum: variants are matched in order. FeatureFlag must precede LicenseKey, whose fields are all optional and would otherwise match a feature_flag config.

metadata
null | Metadata · object

Arbitrary key-value metadata. Values can be string, integer, number, or boolean.

name
string | null

Respons

Detailed view of a single entitlement: identity, integration type, integration-specific configuration, and metadata.

business_id
string
wajib

Identifier of the business that owns this entitlement.

created_at
string<date-time>
wajib

Timestamp when the entitlement was created.

id
string
wajib

Unique identifier of the entitlement.

integration_config
Feature Flag Config · object
wajib

Integration-specific configuration. For digital_files entitlements this includes presigned download URLs for each attached file.

integration_type
enum<string>
wajib

Platform integration this entitlement uses.

Opsi yang tersedia:
discord,
telegram,
github,
figma,
framer,
notion,
digital_files,
license_key,
feature_flag
is_active
boolean
wajib

Always true for entitlements returned by the public API; soft-deleted entitlements are not returned.

metadata
Metadata · object
wajib

Arbitrary key-value metadata supplied at creation or via PATCH.

name
string
wajib

Display name supplied at creation.

updated_at
string<date-time>
wajib

Timestamp when the entitlement was last modified.

description
string | null

Optional description supplied at creation.

Terakhir diubah pada 13 Mei 2026