DELETE /admin/compliance/gdpr/consent
Revoke a user's data processing consent for a specific purpose
Compliance Management - Consent `bearerAuth` application/json
Request Body
Schema: dto.RevokeConsentRequest
| Field | Type | Required | Example | Constraints | Description |
purpose |
string |
Yes |
marketing |
|
Processing Purpose |
user_id |
string |
Yes |
usr_abc123 |
|
User ID |
reason |
string |
No |
No longer wish to receive marketing emails |
|
Withdrawal Reason |
Referenced Schemas
dto.ErrorResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
400 |
|
|
message |
string |
No |
invalid request |
|
|
gitee_com_linmes_authms_micro-services_compliance-service_internal_handler_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|