Skip to main content
DELETE
/
vault
/
credentials
/
{id}
cURL
curl --request DELETE \
  --url https://api.useanima.sh/v1/vault/credentials/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "agentId": "<string>",
  "reveal": false
}
'
{
  "success": "<unknown>"
}

Authorizations

Authorization
string
header
required

JWT Bearer token obtained from authentication. Pass as: Authorization: Bearer

Path Parameters

id
string
required

Credential identifier

Body

application/json

Input for identifying a specific credential in an agent vault

agentId

Agent identifier. Optional when using an agent API key (resolved automatically); required when using a master key.

Pattern: ^[0-9a-z]+$
reveal
boolean
default:false

Return unmasked plaintext fields. Requires master key auth. Audit-logged as 'access_reveal'.

Response

200 - application/json

OK

success
any
required