Update Vault
api/beta/vaults/update
Nearest release: v2.1.245, published an hour after this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
api/beta/vaults/update Changed · +18 / -17 lines
# Update Vault ## Path parameters ## Headers ## Body parameters ## Returns ## Example ### Response (200) ## Update Vault ### Path Parameters ### Header Parameters ### Body Parameters ### Returns ### Example #### Response
---- -title: Update Vault -url: https://platform.claude.com/docs/en/api/beta/vaults/update ---- +# Update Vault -## Update Vault +**POST** `/v1/vaults/{vault_id}` -**post** `/v1/vaults/{vault_id}` - Update Vault -### Path Parameters +## Path parameters - `vault_id: string` -### Header Parameters +## Headers - `"anthropic-beta": optional array of AnthropicBeta`
- `"mid-conversation-tool-changes-2026-07-01"` -### Body Parameters +## Body parameters - `display_name: optional string or null` Updated human-readable name for the vault. 1-255 characters. + minLength: 1, maxLength: 255 + - `metadata: optional map[string] or null` Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omitted keys are preserved. -### Returns +## Returns -- `BetaManagedAgentsVault object { id, archived_at, created_at, 4 more }` +- `BetaManagedAgentsVault object` A vault that stores credentials for use by agents during sessions.
A timestamp in RFC 3339 format + format: date-time + - `created_at: string` A timestamp in RFC 3339 format + format: date-time + - `display_name: string` Human-readable name for the vault.
- `type: "vault"` - - `"vault"` - - `updated_at: string` A timestamp in RFC 3339 format -### Example + format: date-time -```http +## Example + +```bash curl https://api.anthropic.com/v1/vaults/$VAULT_ID \ -H 'Content-Type: application/json' \ -H 'anthropic-version: 2023-06-01' \
}' ``` -#### Response +### Response (200) ```json {