Secrets

Set Subscription Token

Changed on
put/secrets/{secret_id}/subscription-token

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/secrets/{secret_id}/subscription-token
  • Auth
    API key in header Authorization

Path parameters

secret_idstring uuid required

Request body

tokenstring required

Response

Successful Response

slugstring nullable
idstring uuid nullable
kind'provider_key' | 'custom_provider' | 'sso_provider' | 'webhook_provider' | 'custom_secret' | 'channel_secret' | 'subscription_provider' | 'oauth_provider' | 'oauth_grant' required
write_onlyboolean

Changes