/auth/register/reapply
被拒绝注册后重新提交申请,将disabled成员重新置为pending状态供管理员再次审批。参考:OWASP ASVS V2.2。
请求体
Schema: service-identity/internal/handler/dto.ReapplyRegistrationRequest
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
email |
string |
是 | |||
invitation_code |
string |
否 | 邀请码 | ||
reason |
string |
否 | 申请理由 | ||
tenant_id |
string |
否 | 目标租户(地址栏租户优先) |
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | 重新申请已提交成功 | service-identity/internal/handler/dto.ReapplyRegistrationResponseWrapper |
| 400 | 请求参数无效或用户不存在 | service-core/base/dto.SimpleResponse |
| 500 | 服务器内部错误 | service-core/base/dto.SimpleResponse |
引用的 Schema
service-core/base/dto.SimpleResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |
service-identity/internal/handler/dto.ReapplyRegistrationResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
message |
string |
否 |
service-identity/internal/handler/dto.ReapplyRegistrationResponseWrapper
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
code |
integer |
否 | |||
data |
service-identity/internal/handler/dto.ReapplyRegistrationResponse |
否 | |||
message |
string |
否 | |||
timestamp |
string |
否 |