---
title: "POST /agents/{agentId}/credentials/{vcId}/revoke"
method: POST
path: "/agents/{agentId}/credentials/{vcId}/revoke"
---

# POST /agents/{agentId}/credentials/{vcId}/revoke

`POST /agents/{agentId}/credentials/{vcId}/revoke`

## Request

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

## Path parameters

- `agentId` union, required: Agent identifier
  - string
  - string
- `vcId` union, required: Verifiable Credential identifier
  - string
  - string

## Request body

- object: Input for revoking a verifiable credential

## Response `200`

OK

- object: A Verifiable Credential record
  - `id` string, required
  - `agentId` string, required
  - `orgId` string, required
  - `type` string, required
  - `jwtVc` string, required
  - `issuerDid` string, required
  - `subjectDid` string, required
  - `issuedAt` string, required
  - `expiresAt` string, nullable, required
  - `revoked` boolean, required
  - `revokedAt` string, nullable, required
  - `revocationIndex` number, nullable, required
  - `metadata` object, nullable, required
  - `createdAt` string, required
  - `updatedAt` string, 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)
