GuidesAPI ReferenceRelease Notes
Log In
API Reference

Revoke consent

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.

Path Params
string
required

Identifies the consent by an id

Body Params

An endpoint for revoking a consent.

string
enum
required

Who initiated revocation. Use CONSUMER for withdrawal through the consent dashboard and COLLEAGUE when a colleague acts on the customer's behalf. Other values identify revocations initiated by the TPP, Register or platform processes.

Allowed:
revokedByPsu
object

Optional identifier of the customer on whose behalf consent is revoked. If supplied, userId is required.

Responses
204

The request was successful. No content is returned.

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json