API 参考角色管理
调整角色结构
POST
/ReorganizeRole调整角色树中的节点位置,支持修改排序和变更所属分类。通过拖拽类型控制放置方式。
Authorization
bearer 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://example.com/ReorganizeRole" \ -H "Content-Type: application/json" \ -d '{ "movedNodeId": 22, "movedNodeIsRole": 1, "locationType": "inner", "tragetNodeId": 3, "targetNodeIsRole": 0 }'{ "ErrCode": 0, "Message": "调整成功"}