Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
One change · api

Update Credential changed

api/beta/vaults/credentials/update

Nearest release: v2.1.268, published under 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.

Recorded here
Lines+23added
Lines−14removed
From line 1 where the diff opens
First seen 14 Aug 2026 this site's first read of the page
Recorded edits9to this page, all time

The whole hunk

from line 1, old and new numbered
/
lines
from line 1
1---
2title: Update Credential
3url: https://platform.claude.com/docs/en/api/beta/vaults/credentials/update
4---
5 
16# Update Credential
27 
38**POST** `/v1/vaults/{vault_id}/credentials/{credential_id}`
from line 23
1823 
1924 - `string`
2025 
21 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 41 more`
26 - `"message-batches-2024-09-24" or "prompt-caching-2024-07-31" or "computer-use-2024-10-22" or 42 more`
2227 
2328 - `"message-batches-2024-09-24"`
2429 
from line 71
6671 
6772 - `"user-profiles-2026-08-18"`
6873 
74 - `"user-profiles-2026-09-04"`
75 
6976 - `"advisor-tool-2026-03-01"`
7077 
7178 - `"managed-agents-2026-04-01"`
from line 115
108115 
109116 - `"mid-conversation-system-clear-at-2026-08-21"`
110117 
118- `"anthropic-workspace-id": optional string`
119 
111120## Body parameters
112121 
113122- `auth: optional BetaManagedAgentsMCPOAuthUpdateParams or BetaManagedAgentsStaticBearerUpdateParams or BetaManagedAgentsEnvironmentVariableUpdateParams`
from line 149
140149 
141150 Updated OAuth refresh token.
142151 
143 minLength: 1, maxLength: 4096
152 minLength: 1, maxLength: 8192
144153 
145154 - `scope: optional string or null`
146155 
from line 229
220229 
221230 Substitute the secret only on requests to the listed hosts.
222231 
232 - `type: "limited"`
233 
223234 - `allowed_hosts: array of string`
224235 
225236 Hostnames on which the secret will be substituted. Each entry is a bare hostname (`api.example.com`), an IPv4 address (`192.0.2.1`), or a `*.`-prefixed wildcard (`*.example.com`). URLs, ports, paths, and IPv6 addresses are not accepted. At most 16 entries.
226237 
227 - `type: "limited"`
228 
229238 - `secret_value: optional string or null`
230239 
231240 Updated secret value.
from line 257
248257 
249258 A credential stored in a vault. Sensitive fields are never returned in responses.
250259 
260 - `type: "vault_credential"`
261 
251262 - `id: string`
252263 
253264 Unique identifier for the credential.
from line 277
266277 
267278 OAuth credential details for an MCP server.
268279 
280 - `type: "mcp_oauth"`
281 
269282 - `mcp_server_url: string`
270283 
271284 URL of the MCP server this credential authenticates against.
272285 
273 - `type: "mcp_oauth"`
274 
275286 - `expires_at: optional string or null`
276287 
277288 A timestamp in RFC 3339 format
from line 335
324335 
325336 Static bearer token credential details for an MCP server.
326337 
338 - `type: "static_bearer"`
339 
327340 - `mcp_server_url: string`
328341 
329342 URL of the MCP server this credential authenticates against.
330343 
331 - `type: "static_bearer"`
332 
333344 - `BetaManagedAgentsEnvironmentVariableAuthResponse object`
334345 
335346 Environment variable credential details. The secret value is never returned.
336347 
348 - `type: "environment_variable"`
349 
337350 - `injection_location: BetaManagedAgentsInjectionLocationResponse`
338351 
339352 Where in the outbound request the secret value is substituted.
from line 373
360373 
361374 The secret is substituted only on requests to the listed hosts.
362375 
376 - `type: "limited"`
377 
363378 - `allowed_hosts: array of string`
364379 
365380 Hostnames on which the secret will be substituted. An entry matches the request host exactly; a `*.`-prefixed entry matches any subdomain of the named domain but not the domain itself.
366381 
367 - `type: "limited"`
368 
369382 - `secret_name: string`
370383 
371384 Name of the environment variable.
372385 
373 - `type: "environment_variable"`
374 
375386 - `created_at: string`
376387 
377388 A timestamp in RFC 3339 format
from line 392
381392 - `metadata: map[string]`
382393 
383394 Arbitrary key-value metadata attached to the credential.
384 
385 - `type: "vault_credential"`
386395 
387396 - `updated_at: string`
388397