POST /admin/users/{user_id}/password-resets

管理员触发指定用户的密码重置流程

身份认证 `bearerAuth` application/json

请求参数

名称位置类型必填默认值示例约束描述
user_id path string 是 用户ID

请求体

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

字段类型必填示例约束描述
new_password string 是 New password (或 hash)
reset_token string 是 Reset token
force_change boolean 否 Force user to change password on next login
password_transmission string 否 plain|hash|symmetric|asymmetric

响应

状态描述Schema
200重置成功service-core/base/dto.SimpleResponse

引用的 Schema

service-core/base/dto.SimpleResponse

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