POST /auth/me/consent

记录用户对特定隐私范围的同意授权,用于GDPR合规

身份认证 `bearerAuth` application/json

请求体

Schema: service-identity/internal/handler/dto.ConsentRequest

字段类型必填示例约束描述
scope string 是 marketing Scope
granted boolean 否 Granted
metadata object 否 Metadata

响应

引用的 Schema

service-identity/internal/handler/dto.RecordConsentResponse

字段类型必填示例约束描述
code integer 否
data object 否
message string 否