Create or replace a secret
Secrets
Create or replace a secret
Create the secret or replace the value of the one already using this name. Idempotent — safe to call on every deploy to push the current credential.
PUT
Create or replace a secret
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
The reference key actions and workflows use as {{secrets.}}. Unique per organization, and immutable — writing the same name replaces its value rather than renaming anything.
Required string length:
1 - 120The plaintext credential. Encrypted at rest and never returned by any endpoint.
Required string length:
1 - 5000Response
Default Response