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.
204The request was successful. No content is returned.