Revocation API

Credential revocation management

/

Overview

Revoke credentials when users should lose access. Revocations are persisted and propagated to active clients.

Revoke Credential

POST /api/wallet/revoke-user

Request

JSON
{ "ppid": "did:lemma:ppid_abc123...", "site_id": "example.com", "reason": "user_requested" // Optional }

Response

JSON
{ "success": true, "credential_id": "cred_xyz789...", "revocation_type": "site_specific" }

Revocation Status Check

GET /api/wallet/revocation-status?credential_ids=cred_1&credential_ids=cred_2

Check revocation status for one or more credential IDs.

Integration tip

Most client integrations rely on SDK verification paths and only call this endpoint for diagnostics or explicit audits.