Companies
Deletes or deactivates an existing department in the currently active company. If the department references any employees, templates or payroll batch records it will be deactivated; otherwise deleted.
delete/api/companies/current/departments/{departmentId}
Request
- Base URLhttps://api.intect.app
- Auth
- HTTP basic
- or API key in header X-API-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
departmentIdinteger required
The ID of the department to update.
Response
OK
Changes
No recorded changes to this operation across all 6 revisions of this API.