DELETE /auth/me

停用当前登录用户的账户,需提供密码验证。账户将被软删除,数据保留可恢复。

身份认证 `bearerAuth` application/json

请求体

Schema: service-identity/internal/handler/dto.DeactivateAccountRequest

字段类型必填示例约束描述
password string 否 CurrentP@ssw0rd Password

响应

引用的 Schema

service-identity/internal/handler/dto.DeactivateAccountResponse

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