FGC-RBAC
账户管理

新增账户

POST
/AddAccount

为活字格服务添加一个新的账户

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/AddAccount" \  -H "Content-Type: application/json" \  -d '{    "username": "test",    "fullName": " 测试用户",    "email": "test@demo.com",    "password": "123456",    "isActived": 0  }'
{
  "ErrCode": 0,
  "Message": "添加成功",
  "data": {
    "username": "test",
    "fullName": " 测试用户",
    "email": "test@demo.com",
    "isActived": 0,
    "roles": "",
    "orgSuperior": "||"
  }
}