from line 1
1---
2title: Update Vault
3url: https://platform.claude.com/docs/en/api/beta/vaults/update
4---
1# Update Vault
52
6## Update Vault
3**POST** `/v1/vaults/{vault_id}`
74
8**post** `/v1/vaults/{vault_id}`
9
105Update Vault
116
12### Path Parameters
7## Path parameters
138
149- `vault_id: string`
1510
16### Header Parameters
11## Headers
1712
1813- `"anthropic-beta": optional array of AnthropicBeta`
1914
from line 86
9186
9287 - `"mid-conversation-tool-changes-2026-07-01"`
9388
94### Body Parameters
89## Body parameters
9590
9691- `display_name: optional string or null`
9792
9893 Updated human-readable name for the vault. 1-255 characters.
9994
95 minLength: 1, maxLength: 255
96
10097- `metadata: optional map[string] or null`
10198
10299 Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omitted keys are preserved.
103100
104### Returns
101## Returns
105102
106- `BetaManagedAgentsVault object { id, archived_at, created_at, 4 more }`
103- `BetaManagedAgentsVault object`
107104
108105 A vault that stores credentials for use by agents during sessions.
109106
from line 112
115112
116113 A timestamp in RFC 3339 format
117114
115 format: date-time
116
118117 - `created_at: string`
119118
120119 A timestamp in RFC 3339 format
121120
121 format: date-time
122
122123 - `display_name: string`
123124
124125 Human-readable name for the vault.
from line 130
129130
130131 - `type: "vault"`
131132
132 - `"vault"`
133
134133 - `updated_at: string`
135134
136135 A timestamp in RFC 3339 format
137136
138### Example
137 format: date-time
139138
140```http
139## Example
140
141```bash
141142curl https://api.anthropic.com/v1/vaults/$VAULT_ID \
142143 -H 'Content-Type: application/json' \
143144 -H 'anthropic-version: 2023-06-01' \
from line 152
151152 }'
152153```
153154
154#### Response
155### Response (200)
155156
156157```json
157158{
No line in this hunk matches that.