Skip to main content

Overview

Sometimes a credential needs to be invalidated before it would naturally expire (an employee leaves, a licence is suspended, an enrolment ends). Revocation marks the credential as invalid, so any verifier checking it from that point on sees it as revoked.
Revocation is only supported for sd-jwt credentials today. mdoc credentials don’t currently support revocation through this API. If your use case needs revocation, issue with the sd-jwt format.

You need the credential id

Revocation acts on a credential, not on an issuance, so the id you pass is the credential id, not the issuance id. Issuance vs credential covers the resource split, the lifecycles, and how to look ids up later.

Revoke a single credential

HTTP 204 No Content on success. There’s no response body.

Revoke a batch

When you need to revoke many credentials at once, send the ids in one call:
HTTP 204 No Content on success.

What the holder and verifier see

  • In the holder’s wallet. Nothing visibly changes. The credential stays where it was and looks exactly as it did, because the wallet does not check revocation status. The holder can still pick it and approve a presentation with it.
  • At verification time. This is where it fails. The platform checks the status list, rejects the presentation as a whole, and returns status: "failed" with an empty credentials array. See A revoked credential fails the presentation.
Revoking does not tell the holder. Revocation is a change to a status list the wallet never reads, so from the holder’s side the credential is unchanged. They find out by having a presentation refused, with nothing in the wallet explaining why. Tell them through your own channels if that matters to you.
Revocation is one-way: once revoked, a credential stays revoked. If the user needs an equivalent, issue a fresh credential.