FGC-RBAC
组织管理

更新组织

POST
/EditOrg

修改指定组织节点的名称、组织级别、描述及父级节点。

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/EditOrg" \  -H "Content-Type: application/json" \  -d '{    "orgId": 26,    "orgName": "节点 26",    "orgLevelId": null,    "description": "",    "orgPNodeId": 25  }'
{
  "ErrCode": 0,
  "Message": "修改成功",
  "data": {
    "orgId": 26,
    "orgName": "节点 26",
    "orgPNodeId": 25,
    "orgLevelId": null,
    "sort": 0,
    "orgPath": "节点 26",
    "description": ""
  }
}