Skip to main content
PATCH
JavaScript

授权

Authorization
string
header
必填

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

路径参数

id
string
必填

Entitlement ID

请求体

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

响应

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

business_id
string
必填

Identifier of the business that owns this entitlement.

created_at
string<date-time>
必填

Timestamp when the entitlement was created.

id
string
必填

Unique identifier of the entitlement.

integration_config
Feature Flag Config · object
必填

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

integration_type
enum<string>
必填

Platform integration this entitlement uses.

可用选项:
discord,
telegram,
github,
figma,
framer,
notion,
digital_files,
license_key,
feature_flag
is_active
boolean
必填

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

metadata
Metadata · object
必填

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

name
string
必填

Display name supplied at creation.

updated_at
string<date-time>
必填

Timestamp when the entitlement was last modified.

description
string | null

Optional description supplied at creation.

最后修改于 2026年5月13日