FGC-RBAC
账户管理

重置账户密码

POST
/ResetPassword

重置指定账户的登录密码,支持批量操作(用户名以英文逗号分隔)。

AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://camp.app.hzgcloud.cn/rbac/ServerCommand/ResetPassword" \  -H "Content-Type: application/json" \  -d '{    "username": "test",    "password": "123123"  }'
{
  "ErrCode": 0,
  "Message": "密码重置成功"
}