Skip to main content
PATCH
Update a vault
See the vaults guide for SDK and CLI examples.

Authorizations

x-api-key
string
header
required

Path Parameters

id
string<uuid>
required

Vault ID.

Body

application/json

Provide description, entries, or both.

description
string

Replaces the description. Trimmed before it's stored.

Maximum string length: 1024
entries
object

Entries to change: each one given replaces that variable, null removes it, and variables not given are kept. Keys are environment variable names: letters, digits and _, not starting with a digit, at most 256 characters. A vault holds at most 32 entries (otherwise 409 VAULT_ENTRY_LIMIT_REACHED).

Response

Success

A named set of environment variables. Holds no values.

id
string<uuid>
required
name
string
required

1-128 letters, digits, _ or -, starting with a letter or digit. Unique within your team.

Pattern: ^[a-zA-Z0-9][a-zA-Z0-9_-]{0,127}$
description
string
required
Maximum string length: 1024
entries
object
required

Environment variable name to entry.

createdAt
string<date-time>
required
updatedAt
string<date-time>
required