POST /internal/communication/erase-user-data
根据用户ID和租户ID擦除用户的通信数据:软删除通信日志(保留审计追踪),硬删除推送令牌(数据最小化)。用于GDPR第17条(被遗忘权)的合规执行。内部接口,使用InternalAPIKeyAuth认证。参考:ePrivacy Directive 2002/58/EC、CAN-SPAM Act。
通信服务 None application/json
Request Body
Schema: dto.EraseUserDataRequest
| Field | Type | Required | Example | Constraints | Description |
user_id |
string |
Yes |
usr_abc123 |
|
|
Referenced Schemas
dto.OKResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
0 |
|
|
message |
string |
No |
success |
|
|
dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|