Skip to main content
PUT
Replace a secret's stored body

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

workspace_id
string<uuid>
required

UUIDv7 of the workspace.

secret_name
string
required

Secret name.

Maximum string length: 64

Body

application/json
data
object
required

The complete replacement body. Must be a non-empty JSON object (UZ-VAULT-001) no larger than 4 KiB stringified (UZ-VAULT-002). Never echoed back or logged.

Response

OK

name
string