API 参考组织管理
更新组织
POST
/EditOrg修改指定组织节点的名称、组织级别、描述及父级节点。
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/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": "" }}