Skip to main content
DELETE
Revoke Credential

Headers

API-Version
string

Pin request, response, and webhook shapes to a specific dated API version (YYYY-MM-DD). Omit to use the version pinned to your API key (set when the key is created; new keys default to the latest version). New integrations should target the latest version.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-07-06"

Path Parameters

credentialId
string
required

URN of the credential to revoke

Example:

"urn:via:credential:550e8400-e29b-41d4-a716-446655440000"

Body

application/json
reason
string

Free-text reason for revocation, recorded on the credential and in the MANDATE_REVOKED receipt. Recommended values from VIA protocol §5.5.1: "user_initiated", "organization_policy", "system_expiry".

Maximum string length: 200
Example:

"user_initiated"

Response

Credential revoked. The revocation is recorded as a REVOKE proof on the credential.

credentialId
string
required

URN of the revoked credential

Example:

"urn:via:credential:550e8400-e29b-41d4-a716-446655440000"

status
enum<string>
required

Always REVOKED on a successful response

Available options:
DRAFT,
ACTIVE,
REJECTED,
CANCELED,
REVOKED,
EXPIRED
Example:

"REVOKED"

revokedAt
string
required

When the credential was revoked (ISO 8601)

Example:

"2026-05-02T10:15:30.000Z"