# Revoke a consent. Endpoint: POST /consents/v1/{consentId}/revoke Version: all Security: Bearer ## Path parameters: - `consentId` (string, required) The consent ID for the consent to revoke. ## Response 400 fields (application/json): - `code` (string,null) Error code. - `description` (string,null) Error message. - `details` (string,null) Error details. - `correlationId` (string,null) User transaction tracking Id ## Response 404 fields (application/json): - `code` (string,null) Error code. - `description` (string,null) Error message. - `details` (string,null) Error details. - `correlationId` (string,null) User transaction tracking Id ## Response 422 fields (application/json): - `code` (string,null) Error code. - `description` (string,null) Error message. - `details` (string,null) Error details. - `correlationId` (string,null) User transaction tracking Id ## Response 500 fields (application/json): - `code` (string,null) Error code. - `description` (string,null) Error message. - `details` (string,null) Error details. - `correlationId` (string,null) User transaction tracking Id