Skip to main content
PUT
Create or replace a secret

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

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 - 120
value
string
required

The plaintext credential. Encrypted at rest and never returned by any endpoint.

Required string length: 1 - 5000

Response

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
name
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required