POST /internal/notification/notifications/erase-user

根据compliance-service erasure流程,擦除指定用户的所有通知数据。内部API,受InternalAPIKeyMulti保护。

通知服务 - 内部接口 None application/json

请求参数

名称位置类型必填默认值示例约束描述
X-Tenant-ID header string 是 租户ID

请求体

Schema: service-notification/internal/handler/dto.EraseUserNotificationsRequest

字段类型必填示例约束描述
user_id string 是

响应

状态描述Schema
200擦除成功service-core/base/dto.SimpleResponse
400请求参数无效service-core/base/dto.SimpleResponse
401未提供有效的X-API-Keyservice-core/base/dto.SimpleResponse
500服务内部错误service-core/base/dto.SimpleResponse

引用的 Schema

service-core/base/dto.SimpleResponse

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