Revoke offer
PUT/api/oid4vci/offer/:id/revoke
Revokes an existing credential offer, so that it cannot be used anymore by the holder
Request
Path Parameters
id numberrequired
Responses
- 200
- 403
- application/json
- Schema
- Example (from schema)
Schema
idnumberrequired
createddate-timerequired
preAuthorizedCodestringrequired
holderIdstringrequired
credentialTypestringrequired
credentialIdstring
revokedbooleanrequired
credentialSubject
object
required
idstringrequired
{
"id": 0,
"created": "2024-07-29T15:51:28.071Z",
"preAuthorizedCode": "string",
"holderId": "string",
"credentialType": "string",
"credentialId": "string",
"revoked": true,
"credentialSubject": {
"id": "string"
}
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}