FGC-RBAC
角色管理

调整角色结构

POST
/ReorganizeRole

调整角色树中的节点位置,支持修改排序和变更所属分类。通过拖拽类型控制放置方式。

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/ReorganizeRole" \  -H "Content-Type: application/json" \  -d '{    "movedNodeId": 22,    "movedNodeIsRole": 1,    "locationType": "inner",    "tragetNodeId": 3,    "targetNodeIsRole": 0  }'
{
  "ErrCode": 0,
  "Message": "调整成功"
}