GuidesAPI ReferenceRelease Notes
Log In
API Reference

Revoke consents in a consent group

Revokes all consents in a consent group. For CDR, consentGroupId corresponds to cdr_arrangement_id. Use this operation to withdraw the sharing arrangement as a whole.

Parameters

Supply revokedBy to identify who initiated withdrawal: typically CONSUMER for the consent dashboard or COLLEAGUE for a colleague acting on the customer's behalf. The optional revokedByPsu object must contain a string userId when supplied.

The group must contain consents, and those consents must belong to the same client and consent type.

Outcomes

Ozone updates the consents to Revoked and records the revocation context and timestamps. A successful request returns 204 without a response body.

Consents are updated sequentially, not as an atomic transaction. If the request fails, some or all consent updates may already have been applied. Retrieve the current consent statuses before deciding how to proceed; do not assume that an error rolled back earlier updates.

Path Params
string
required

Select consents within the consentGroupId

Body Params

Identifies who initiated revocation of the consents in the group.

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