Skip to main content
Store a workspace secret

Authorizations

Authorization
string
header
required

BoxRouter API key; never an upstream provider key.

Headers

Idempotency-Key
string

Optional for this operation. Preserve the same stable identifier when retrying an uncertain response; never reuse it for new work. If omitted where allowed, Cloud generates a request-scoped key that cannot reconcile a later retry. Do not include credentials or payloads. Stable identifier for one logical mutation.

Required string length: 1 - 128

Path Parameters

name
string
required

Workspace secret name.

Required string length: 1 - 128
Pattern: ^[A-Z][A-Z0-9_]{0,127}$

Body

application/json
value
string
required
write-only

Secret value. It is never returned, logged or included in an error response.

Maximum string length: 16384
Pattern: ^[^\u0000]*$

Response

Secret stored without returning its value.