Skip to main content

Get Grant History

Read a Grant's history from its Grant identifier alone.

Grant History is the consent lifecycle: how the Grant was created, every amendment to it, changes to its composition and its revocation. It does not cover token or authorisation-code issuance; that is security telemetry rather than consent history.

Entries are returned oldest first, so replaying them in order reconstructs the Grant's state. Unlike the Consent API's Get User Grant History, this operation is ungrounded: it names no User or Principal, every entry on the Grant is returned, and no entry is redacted, whichever User initiated it. It needs the biza-au:haas:admin:read scope (see Admin API scopes).

CDR Arrangement V1

For a CDR Sharing Arrangement the entries are:

  • CDR_SHARING_ARRANGEMENT_V1_CREATED: the customer authorised the Grant. Carries the initial state.
  • CDR_SHARING_ARRANGEMENT_V1_AMENDED: the Grant changed. Carries the change as a delta, the userId of the User who made this amendment (not necessarily the User who created the Grant) and an amendmentCause of CONSUMER or JOINT_OWNER_WITHDRAWAL. The Admin API never causes an amendment; it only reports one.
  • CDR_SHARING_ARRANGEMENT_V1_REVOKED: the Grant was revoked. revocationCause says by whom or why. For a revocation made through the Admin API it is ADMIN; the entry can then also carry the actor given in the revoke request and that request's xFapiInteractionId.
  • CDR_SHARING_ARRANGEMENT_V1_HELD and CDR_SHARING_ARRANGEMENT_V1_REACTIVATED: sharing was suspended without the Grant being revoked, or became possible again. holdCause says which hold applied.

Results are paged with page and page-size; follow the links in the response rather than building page URLs yourself.

Admin API​

Get Grant History​

From the HaaS Admin API 0.0.1-alpha.18. See the full reference.

Loading...