Skip to Content
CerebrumDocs
GuidesAPI referenceTrust & security

Update Wallet Credential Status

Related workflow: Working with Beams and credentials

PATCH
/v1/wallet/credentials/{id}/status

Update lifecycle status for an issued wallet credential. Supports ACTIVE and REVOKED.

Authorization

apiKey
headerapikey<token>

Path Parameters

id*string

Request Body

application/json
  1. body
status*string
Value in"ACTIVE""REVOKED"

Response Body

The credential ID and its new status.

application/json
  1. response
credentialId*string
status*string
Value in"ACTIVE""REVOKED"
Example Request
curl -X PATCH 'https://api.cerebrum.com/v1/wallet/credentials/string/status' \  -H 'apikey: CEREBRUM_API_KEY' \  -H 'Content-Type: application/json' \  -d '{  "status": "REVOKED"}'
Example Response
{  "credentialId": "string",  "status": "REVOKED"}