Skip to main content
PUT
Error

Authorizations

X-API-Key
string
header
required

Path Parameters

key
string
required

Body

application/json
value
string | null

Secret value. Required to create a secret; omit to keep the current value.

Minimum string length: 1
configs
SecretConfigInput · object[] | null

Full replacement of the allowed hosts. Omitted or empty removes custom hosts so the built-in defaults, if any, apply.

Response

Successful Response

A workspace secret's key and the hosts it may be sent to. Never the value.

key
string
required
configs
SecretConfig · object[]

Hosts the secret may be sent to, with built-in defaults applied. Listed secrets include it only when include_configs is true.