Delete Department
To delete the department by DepartmentId
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
a | string | action type | |
apiKey | string | Required: API key of your Profit.co Account | |
accessKey | string | Required: Access key of your Profit.co Account |
Request Body
[{"name"=>"departmentId", "value"=>"<DEPARTMENT_ID>\n", "datatype"=>"string"}]