/internal/rbac/erase-user
服务间内部调用:擦除指定用户的所有角色分配和直赋权限记录
请求体
接受空 JSON 对象 {}
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | 擦除成功 | dto.SimpleResponse |
| 400 | 请求参数错误 | dto.SimpleResponse |
| 401 | 未认证或API密钥无效 | dto.SimpleResponse |
| 500 | 服务内部错误 | dto.SimpleResponse |
引用的 Schema
dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |