POST /auth/me/consent
Record user's consent authorization for a specific privacy scope, for GDPR compliance
Account Management `bearerAuth` application/json
Request Body
Schema: dto.ConsentRequest
| Field | Type | Required | Example | Constraints | Description |
scope |
string |
Yes |
marketing |
|
Scope |
granted |
boolean |
No |
|
|
Granted |
metadata |
object |
No |
|
|
Metadata |
Referenced Schemas
dto.RecordConsentResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
object |
No |
|
|
|
message |
string |
No |
|
|
|