department.delete
This method deletes a department. Available only for users with permission to change Company Structure.
Parameters
Parameter | Description |
---|---|
ID | Department ID (required) |
Call
BX24.callMethod('department.delete', {"ID": 222});
Request
https://my.bitrix24.com/rest/department.delete.json?ID=222&auth=70a32986f1bf204dec4567147ca6a2af
Response
{"result":true}
© «Bitrix24», 2001-2024