MATTR VII PlatformSemantic CWT
Update Semantic CWT credential revocation status
Updates the credential status as revoked (invalid) or unrevoked (valid).
Analytics Events
CREDENTIAL_COMPACT_SEMANTIC_REVOCATION_SET_STATUS_STARTCREDENTIAL_COMPACT_SEMANTIC_REVOCATION_SET_STATUS_SUCCESSCREDENTIAL_COMPACT_SEMANTIC_REVOCATION_SET_STATUS_FAIL
Roles
adminissuer
POST
/v2/credentials/compact-semantic/{id}/revocation-statusAuthorizationBearer <token>
In: header
Path Parameters
idstring
Unique credential identifier (jti)
Update revocation status
isRevokedboolean
When set to true the credential will be revoked. When set to false, the credential will be unrevoked.
Response Body
curl -X POST "https://example.vii.au01.mattr.global/v2/credentials/compact-semantic/string/revocation-status" \ -H "Content-Type: application/json" \ -d '{ "isRevoked": true }'{
"id": "string",
"isRevoked": true
}{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}How would you rate this page?