Skip to main content
PUT
Update a vault item

Authorizations

Authorization
string
header
required

Standard JWT for user sessions obtained via Altostrat authentication.

Path Parameters

vaultId
string
required

The prefixed ID of the vault item (e.g., vlt_...).

Body

application/json
name
string
required
Example:

"My App's API Token (Updated)"

secret
string
required
Example:

"sec_newkey789"

expires_at
string<date-time> | null

Response

The vault item was updated successfully.

id
string

The unique prefixed identifier for the vault item.

Example:

"vlt_01h3j4k5l6m7n8p9q0r1s2t3u4"

name
string

The name of the vault item. For API keys, use the api-key: prefix.

Example:

"External Service API Key"

created_at
string<date-time>

The timestamp when the item was created.

Example:

"2025-10-31T10:00:00.000000Z"

expires_at
string<date-time> | null

The timestamp when the item expires and can no longer be used.

Example:

"2026-10-31T10:00:00.000000Z"