跳转到主要内容
Vault

归档 Vault

归档指定的密钥库

POST
/api/v1/agentstudio/vaults/{vault_id}/archive
cURL
curl --request POST \
  --url 'https://dashscope.aliyuncs.com/api/v1/agentstudio/vaults/{vault_id}/archive' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "id": "vlt_xxx",
  "type": "vault",
  "display_name": "生产环境密钥箱",
  "metadata": {
    "environment": "production"
  },
  "archived_at": "2026-07-10T08:00:00Z",
  "created_at": "2026-06-20T10:00:00Z",
  "updated_at": "2026-07-10T08:00:00Z"
}

鉴权

string
header
必填

DashScope API Key

路径参数

string
必填

Vault ID,格式 vlt_xxx

响应

200-application/json
string

Vault ID,格式 vlt_xxx

string

固定为 vault

string

Vault 可读名称

object

业务自定义键值对

string | null

归档时间,已填入归档时间,ISO 8601

string

创建时间,ISO 8601

string

最近更新时间,ISO 8601