Skip to main content
PATCH
Update a Secret

Authorizations

Authorization
string
header
required

Pass the API key in the Authorization header, You need to put Token keyword before the API key. e.g. 'Authorization: Token '

Path Parameters

id
string
required

The ID of the secret to update.

Example:

"ed9b5601-f731-441a-8500-d9fc7610ef8f"

Body

application/json

Request body containing the fields to update

name
string

The new name for the secret.

Example:

"API_KEY_UPDATED"

value
string

The new secret value.

Example:

"new-super-secret-value"

description
string

The new description for the secret.

Example:

"Updated production API key"

tags
string[]

The new tags for the secret.

Example:

Response

Secret updated successfully

success
boolean
Example:

true

message
string
Example:

"success"

data
object