Revokes a single consent identified by consentId. Use this operation when your financial institution needs to withdraw that specific consent.
Parameters
Supply revokedBy to identify who initiated revocation. Use CONSUMER for withdrawal through the consent dashboard, or COLLEAGUE when a colleague acts on the customer's behalf.
You may also supply revokedByPsu to record the customer identifier. If this object is present, it must contain a string userId.
Outcomes
Ozone sets the consent status to Revoked and records the revocation context and timestamps. A successful request returns 204 without a response body.
This operation targets one consent, not every consent in the sharing arrangement. Use POST /consent-groups/{consentGroupId}/consents/action/revoke to revoke the group.
204The request was successful. No content is returned.