Semantic CWT credentials

Specifies paths and operations for managing Semantic CWT credentials.

Delete Semantic CWT credential metadata

Deletes all credential metadata from the tenant for a specific credential by providing its ID. If the credential was set to be revocable, it will be permanently revoked upon metadata deletion.

Note that only metadata of revocable credentials or credentials issued via the OpenID4VCI flow is saved.

Deleted metadata cannot be recovered.

Roles: ["Admin","Issuer"]
SecuritybearerAuth
Request
path Parameters
id
required
string

Credential ID

Responses
204

Credential metadata deleted

400

Bad Request. The request was malformed or missing required parameters.

404

Not Found. The specified resource was not found.

delete/v2/credentials/compact-semantic/{id}
Request samples
Response samples
application/json
{
  • "code": "string",
  • "type": "string",
  • "message": "string",
  • "details": [
    ]
}

Retrieve all Semantic CWT credential revocation lists

Returns a list of all Semantic CWT credential revocation lists on the tenant.

Analytic events

  • CREDENTIAL_COMPACT_SEMANTIC_REVOCATION_LISTS_RETRIEVE_START
  • CREDENTIAL_COMPACT_SEMANTIC_REVOCATION_LISTS_RETRIEVE_SUCCESS
  • CREDENTIAL_COMPACT_SEMANTIC_REVOCATION_LISTS_RETRIEVE_FAIL
Roles: ["Admin","Issuer"]
Responses
200

Revocation lists retrieved

get/v2/credentials/compact-semantic/revocation-lists
Request samples
Response samples
application/json
[
  • {
    }
]

Retrieve Semantic CWT credential revocation list

Returns a Semantic CWT credential revocation list by providing its ID.

Analytic events

  • CREDENTIAL_COMPACT_SEMANTIC_REVOCATION_RETRIEVE_START
  • CREDENTIAL_COMPACT_SEMANTIC_REVOCATION_RETRIEVE_SUCCESS
  • CREDENTIAL_COMPACT_SEMANTIC_REVOCATION_RETRIEVE_FAIL
Roles: ["Admin","Issuer"]
Request
path Parameters
listId
required
string

The unique identifier of the revocation list you wish to retrieve.

Responses
200

Revocation list retrieved

get/v2/credentials/compact-semantic/revocation-lists/{listId}
Request samples

Update Semantic CWT credential revocation status

Updates the credential status as revoked (invalid) or unrevoked (valid).

Analytic events

  • CREDENTIAL_COMPACT_SEMANTIC_REVOCATION_SET_STATUS_START
  • CREDENTIAL_COMPACT_SEMANTIC_REVOCATION_SET_STATUS_SUCCESS
  • CREDENTIAL_COMPACT_SEMANTIC_REVOCATION_SET_STATUS_FAIL
Roles: ["Admin","Issuer"]
SecuritybearerAuth
Request
path Parameters
id
required
string

Unique credential identifier (jti)

Request Body schema: application/json
required

Update revocation status

isRevoked
required
boolean

When set to true the credential will be revoked. When set to false, the credential will be unrevoked.

Responses
200

Revocation status updated

404

Bad Request. The request was malformed or missing required parameters.

post/v2/credentials/compact-semantic/{id}/revocation-status
Request samples
application/json
{
  • "isRevoked": true
}
Response samples
application/json
{
  • "id": "string",
  • "isRevoked": true
}

Retrieve Semantic CWT credential revocation status

Retrieve the revocation status of a Semantic CWT credential by providing its ID.

Roles: ["Admin","Issuer"]
SecuritybearerAuth
Request
path Parameters
id
required
string

Unique credential identifier (jti)

Responses
200

Revocation status retrieved

404

Not Found. The specified resource was not found.

get/v2/credentials/compact-semantic/{id}/revocation-status
Request samples
Response samples
application/json
{
  • "isRevoked": true
}