MATTR VII PlatformJSON
Set credential revocation status
Sets the revocation status of the credential that matches the provided ID as true
(revoked) or false
(unrevoked).
Analytics Events
CREDENTIAL_WEB_SEMANTIC_REVOCATION_SET_STATUS_STARTCREDENTIAL_WEB_SEMANTIC_REVOCATION_SET_STATUS_SUCCESSCREDENTIAL_WEB_SEMANTIC_REVOCATION_SET_STATUS_FAIL
Roles
adminissuer
POST
/v2/credentials/web-semantic/{id}/revocation-status
AuthorizationBearer <token>
In: header
Path Parameters
idstring
Credential ID
Format
uuid
Setting the revocation status
isRevokedboolean
Indicates whether the credential is revoked (true
) or not (false
).
Response Body
curl -X POST "https://example.vii.au01.mattr.global/v2/credentials/web-semantic/a80a5e7e-1972-4be6-8a4e-2adf09badf24/revocation-status" \ -H "Content-Type: application/json" \ -d '{ "isRevoked": true }'
Empty
{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}
How would you rate this page?