Entitlements
post/v1/control/applications/{application_id}/entitlements

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/control/applications/{application_id}/entitlements
  • Auth: one of:
    • HTTP bearer
    • API key in cookie p93_control_access

Headers

Idempotency-Keystring required

Request body

subject_type'user' | 'workspace' required
subject_idstring uuid required
product_idstring uuid
price_idstring uuid
feature_valuesobject
configurationobject
starts_atstring date-time
expires_atstring date-time
reasonstring
external_referencestring

Response

Entitlement grant created

idstring uuid required
subject_type'user' | 'workspace' required
subject_idstring uuid required
source_type'manual' | 'local_request' | 'subscription' | 'checkout' required
source_idstring uuid nullable
feature_valuesobject required
configurationobject required
starts_atstring date-time required
expires_atstring date-time nullable
revoked_atstring date-time nullable
external_referencestring nullable
created_atstring date-time

Changes