/auth/send-verification-email
向指定邮箱发送验证码邮件
请求体
Schema: service-identity/internal/handler/dto.SendVerificationEmailRequest
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
email |
string |
是 | |||
tenant_id |
string |
否 | TenantID 显式租户(地址栏):body > query > X-Tenant-ID;空即 400(AUTH-04)。 |
响应
| 状态 | 描述 | Schema |
|---|---|---|
| 200 | 发送成功 | service-identity/internal/handler/dto.EmailVerificationResponse |
引用的 Schema
service-identity/internal/handler/dto.EmailVerificationResponse
| 字段 | 类型 | 必填 | 示例 | 约束 | 描述 |
|---|---|---|---|---|---|
expires_in |
integer |
否 |