RevocationAPI Reference
Status update
Update Semantic CWT credential status
POST
/v2/credentials/compact-semantic/{id}/revocation-statusAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Unique credential identifier (jti)
Request Body
application/json
Update revocation status
isRevoked*boolean
When set to true the credential will be revoked. When set to false, the credential will be unrevoked.
Response Body
application/json
application/json
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"
}
]
}Retrieve Semantic CWT credential status
GET
/v2/credentials/compact-semantic/{id}/revocation-statusAuthorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
id*string
Unique credential identifier (jti)
Response Body
application/json
application/json
curl -X GET "https://example.vii.au01.mattr.global/v2/credentials/compact-semantic/string/revocation-status"{
"isRevoked": true
}{
"code": "string",
"message": "string",
"details": [
{
"value": "string",
"msg": "Invalid value",
"param": "id",
"location": "body"
}
]
}How would you rate this page?