All Products
Search
Document Center

Qoder CN Series:Delete a vault

Last Updated:Jul 03, 2026

Permanently deletes a vault along with all of its credentials. This action is irreversible.

Request headers

Header

Required

Description

Authorization

Yes

Bearer token used to authenticate the request. Format: Bearer $QODER_PAT.

Path parameters

Parameter

Type

Required

Description

vault_id

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

authentication_error

The authentication token is missing or invalid.

404

not_found_error

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 active or archived state can be deleted.

For the full error envelope, see Errors.