SSI Hub
get/api/v2/ssi-hub/roles

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Response

My roles

idstring required

Unique identifier for the claim request

tokenstring required

Authentication token for the claim request

rolestring required

The role being requested

requestDatestring required

Date when the claim request was submitted

namespacestring required

The namespace for the claim

status'NOT_ENROLLED' | 'AWAITING_APPROVAL' | 'APPROVED' | 'REJECTED' | 'SYNCED' required

Current status of the role claim request

expirationDatestring

Date when the claim expires

expirationStatusstring

Status indicating if the claim has expired

Example response

[
  {
    "id": "claim-12345",
    "role": "energy.producer.iam.ewc",
    "requestDate": "2024-01-15T10:30:00Z",
    "namespace": "energy.trading.iam.ewc",
    "status": "PENDING",
    "expirationDate": "2024-12-31T23:59:59Z",
    "expirationStatus": "ACTIVE"
  }
]

Changes

    • breaking

      the response property / became optional for the status

    • breaking

      the response property / became optional for the status

    • warning

      added the new APPROVED enum value to the / response property for the response status

    • warning

      added the new AWAITING_APPROVAL enum value to the / response property for the response status

    • warning

      added the new NOT_ENROLLED enum value to the / response property for the response status

    • warning

      added the new REJECTED enum value to the / response property for the response status

    • warning

      added the new SYNCED enum value to the / response property for the response status