DELETE /api/v1/cloud/vaults/{vault_id}
Deletes a Vault and returns a deletion confirmation.
Path parameters
| Parameter | Type | Description |
|---|---|---|
vault_id | string | Vault ID with the vault_ prefix |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Example request
Example response
HTTP 200 OK"type": "vault_deleted" in the response body.
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | TOKEN_INVALID | Missing or invalid authentication token |
| 404 | not_found_error | Vault does not exist or is not accessible |
Related
Authenticate with vaults
Store and inject secrets safely into agent sessions.