Skip to main content
DELETE
/
v1
/
consent
/
{registration_id}
Revoke consumer consent
curl --request DELETE \
  --url https://example-supplier.co.uk/v1/consent/{registration_id} \
  --header 'Authorization: Bearer <token>'
{
  "code": "tariff_not_found",
  "message": "No tariff found for the given tariff_id and supplier MPID.",
  "details": "tariff_id a1b2c3d4-e5f6-7890-abcd-ef1234567890 does not exist for supplier SEBD."
}

Authorizations

Authorization
string
header
required

OAuth 2.0 Authorisation Code flow for RTI User authentication and consumer consent. Each supplier operates its own OAuth server. In production, substitute the placeholder host with the relevant url from the Supplier Register. OpenAPI does not permit URI templates in security scheme URLs, so a placeholder is used here.

Path Parameters

registration_id
string<uuid>
required

The registration_id UUID returned when consent was first registered.

Example:

"f47ac10b-58cc-4372-a567-0e02b2c3d479"

Response

Consent revoked. No content returned.

Last modified on March 28, 2026