Revoke Grant
Revoke any Grant in the realm by its Grant identifier alone.
Unlike the Consent API's Revoke User Grant, this operation does not need the User who created the Grant. It is intended for your internal administrative tooling rather than a consumer-facing dashboard, and needs the biza-au:haas:admin:revoke scope (see Admin API scopes).
The request body identifies who or what initiated the revocation:
SYSTEM: an automated action triggered the revocation.USER: a person at the Data Holder triggered it, for example an operator working a support case. Send their identifier asactorUserId, using a value you can correlate with your own internal authentication systems.
The initiator is written to the Grant's history as audit metadata. It is never used to decide whether the call is allowed.
The operation acts only on a Grant whose reported status is ACTIVE. For any other status it still returns 200 with the Grant unchanged, and writes no history entry. A revoked Grant stays readable through Get Grant, with a status of REVOKED.
CDR Arrangement V1
In the CDR Arrangement scenario, the Data Recipient is notified using the prescribed method. In addition, a CDR_SHARING_ARRANGEMENT_V1_REVOKED history entry is written with a revocationCause of ADMIN (see Get Grant History).
Admin APIβ
Revoke Grantβ
From the HaaS Admin API 0.0.1-alpha.18. See the full reference.
Loading...