Delete Vault
Updated at:
Permanently deletes the specified Vault. This operation cannot be undone.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
DELETE
/vaults/{vault_id}Path parameters
vault_idstringRequiredVault ID, format vlt_xxx
Request example
curl -X DELETE "$AGENTSTUDIO_URL/vaults/vlt_xxx" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response fields
idstringID of the deleted Vault
typestringAlways vault_deleted
Response example
{
"id": "vlt_xxx",
"type": "vault_deleted"
}
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 400 | InvalidParameter | Required parameter missing or invalid. |
| 401 | InvalidApiKey | Invalid API-key provided. |
Is this page helpful?