AnthropicClaude 托管智能体

更新凭据库

修改一个凭据保险库的配置。

POST /anthropic/v1/vaults/{vault_id}● 支持

请求参数

  • vault_idstring必填

    path: 保险库 ID(路径或查询参数)。

  • display_namestring可选

    Updated human-readable name for the vault. 1-255 characters.

  • metadataobject可选

    Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omitted keys are preserved.

返回

200

支持创建、列出、读取、更新、归档与删除。列表支持 limit、page 和 include_archived。归档会同时归档库内全部凭据并清除凭据的值;删除会一并删除全部凭据,不可恢复。以 anthropic. 开头的 metadata 键由平台保留,不能写入。同一个库也可以通过原生接口 /vault/v1 管理。

错误按 Claude Managed Agents 格式返回,参见 错误码

响应

HTTP 200

Successful response

application/json

名称类型说明
idstringUnique identifier for the vault.
archived_atnull | stringA timestamp in RFC 3339 format
created_atstringA timestamp in RFC 3339 format
display_namestringHuman-readable name for the vault.
metadataobjectArbitrary key-value metadata attached to the vault.
typestring
updated_atstringA timestamp in RFC 3339 format