Skip to main content
PUT
Update a secret

Authorizations

Authorization
string
header
required

API key for authentication. Make sure to include the word apikey, followed by a single space and then your token. Example: apikey 1234$abcdef

Path Parameters

secret_id
integer<int64>
required

Unique identifier of the secret to update

Body

application/json

Secret details

name
string
required

The unique name of the secret.

Required string length: 1 - 128
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*[a-zA-Z0-9]$
comment
string

A description or comment about the secret.

Maximum string length: 1024
secret_slots
object[]

A list of secret slots associated with this secret.

Response

Returns complete secret configuration and metadata

name
string

The unique name of the secret.

Required string length: 1 - 128
Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]*[a-zA-Z0-9]$
comment
string

A description or comment about the secret.

Maximum string length: 1024
app_count
integer<int>
read-only

The number of applications that use this secret.

secret_slots
object[]

A list of secret slots associated with this secret.