/internal/mfa/erase
内部API:硬删除指定用户的所有MFA配置、TOTP设备、WebAuthn凭证和受信设备,用于GDPR删除Saga。需要InternalAPIKey认证。
Request Body
Schema: dto.InternalEraseMFARequest
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
tenant_id |
string |
Yes | |||
user_id |
string |
Yes |
Responses
| Status | Description | Schema |
|---|---|---|
| 200 | 擦除成功 | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 400 | 参数错误 | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 401 | 缺少内部API认证 | gitee_com_linmes_authms_base_dto.SimpleResponse |
| 500 | 服务器内部错误 | gitee_com_linmes_authms_base_dto.SimpleResponse |
Referenced Schemas
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
|---|---|---|---|---|---|
code |
integer |
No | |||
message |
string |
No | |||
timestamp |
string |
No |