Permanently deletes a vault along with all of its credentials. This action is irreversible.
Request headers
|
Header |
Required |
Description |
|
|
Yes |
Bearer token used to authenticate the request. Format: |
Path parameters
|
Parameter |
Type |
Required |
Description |
|
|
string |
Yes |
The unique identifier of the vault to delete. |
Example request
curl -X DELETE "https://api.qoder.com.cn/api/v1/cloud/vaults/vault_019e3bb940277f0db05ab74291acf6ef" \
-H "Authorization: Bearer $QODER_PAT"
Example response
HTTP 204 No Content
A successful delete returns an empty body with HTTP 204.
Errors
|
HTTP |
Type |
Trigger |
|
401 |
|
The authentication token is missing or invalid. |
|
404 |
|
The specified vault does not exist or has already been deleted. |
Notes
-
Deletion is permanent and cannot be undone.
-
Subsequent GET requests for a deleted vault return HTTP 404.
-
All credentials attached to the vault are deleted with it.
-
Vaults in either the
activeorarchivedstate can be deleted.
For the full error envelope, see Errors.