Pular para o conteúdo principal
PATCH
JavaScript

Autorizações

Authorization
string
header
obrigatório

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

Parâmetros de caminho

id
string
obrigatório

Entitlement ID

Corpo

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

Resposta

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

business_id
string
obrigatório

Identifier of the business that owns this entitlement.

created_at
string<date-time>
obrigatório

Timestamp when the entitlement was created.

id
string
obrigatório

Unique identifier of the entitlement.

integration_config
Feature Flag Config · object
obrigatório

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

integration_type
enum<string>
obrigatório

Platform integration this entitlement uses.

Opções disponíveis:
discord,
telegram,
github,
figma,
framer,
notion,
digital_files,
license_key,
feature_flag
is_active
boolean
obrigatório

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

metadata
Metadata · object
obrigatório

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

name
string
obrigatório

Display name supplied at creation.

updated_at
string<date-time>
obrigatório

Timestamp when the entitlement was last modified.

description
string | null

Optional description supplied at creation.

Última modificação em 13 de maio de 2026