Delete Credential

delete/v1/vaults/{vault_id}/credentials/{credential_id}?beta=true

Path parameters

vault_idstring required

Path parameter vault_id

credential_idstring required

Path parameter credential_id

Headers

x-api-keystring
anthropic-versionstring
anthropic-betastring
anthropic-workspace-idstring

Optional header to select the Workspace for this request. The value is a Workspace ID (for example, wrkspc_011CZkZaBF1tNoB5wlCeusgy).

Only needed for credentials that can act on more than one Workspace. A credential that belongs to a specific Workspace may omit it; if sent, it must match that Workspace.

Response

Successful response (OK)

type'vault_credential_deleted' required
idstring required

Unique identifier of the deleted credential.

Example response

{
  "type": "vault_credential_deleted",
  "id": "vcrd_011CZkZEMt8gZan2iYOQfSkw"
}

Changes