PUT
/
api
/
secrets
/
{key}
{
  "success": true,
  "message": "Secret STRIPE_API_KEY has been updated successfully"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

key
string
required

Secret key identifier

Body

application/json
value
string

New secret value (will be encrypted)

isActive
boolean

Whether the secret is active

isReserved
boolean

Whether the secret is protected from deletion

expiresAt
string<date-time> | null

Expiration date (null to remove expiration)

Response

Secret updated successfully

success
boolean
message
string