Skip to main content
PATCH
Update a secret

Authorizations

Authorization
string
header
required

A workspace API key from Workspace settings > API keys, sent as Authorization: Bearer cl_api_.... A Read only key can call the GET endpoints; every other method needs a Full access key.

Path Parameters

secretId
string
required
Required string length: 1 - 128

Body

application/json
name
string

A new name, unique in the workspace ignoring case. Tools name the secret by its id, so they keep sending it.

Required string length: 1 - 100
Pattern: ^[A-Za-z0-9][A-Za-z0-9 _.-]*$
value
string

A new value. Every tool and published agent that uses the secret sends it from its next call on.

Required string length: 1 - 8192

Response

Success.

data
object
required