department.update
This method modifies a department. Available only for users with permission to edit Company Structure.
Parameters
Parameter | Description |
---|---|
ID | Department ID (required) |
NAME | Department name (required) |
SORT | Department sort parameter |
PARENT | Parent department ID. |
UF_HEAD | Department head (superviser) ID |
Call
BX24.callMethod('department.update', {"ID": 222, "NAME": "Old department", "PARENT": 114, "UF_HEAD": 11});
Request
https://my.bitrix24.com/rest/department.update.json?ID=222&NAME=Old department=114&UF_HEAD=11&auth=2577a0459ed8f183c996f44f0995ebe5
Response
{"result":true}
© «Bitrix24», 2001-2024