---
title: "DELETE /vault/credentials/{id}"
method: DELETE
path: "/vault/credentials/{id}"
---

# DELETE /vault/credentials/{id}

`DELETE /vault/credentials/{id}`

## Request

- Base URL: `https://api.useanima.sh/v1`
- URL: `https://api.useanima.sh/v1/vault/credentials/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

## Path parameters

- `id` string, required: Credential identifier

## Request body

- object: Input for identifying a specific credential in an agent vault
  - `agentId` union: Agent identifier. Optional when using an agent API key (resolved automatically); required when using a master key.
    - string
    - string
  - `reveal` boolean: Return unmasked plaintext fields. Requires master key auth. Audit-logged as 'access_reveal'.

## Response `200`

OK

- object
  - `success` unknown, required

---

[API](https://skmtc.dev/useanima/apis/anima-api.md) · [All operations](https://skmtc.dev/useanima/apis/anima-api/llms.txt) · [OpenAPI document](https://skmtc.dev/useanima/apis/anima-api/revisions/aaa148188980?raw)
