Delete Department
BetaDELETE
/v1/operations/departments/{id}This endpoint is idempotent. Learn more
Deletes a department.
Scanning stations and machines assigned to the department are not deleted, but they keep pointing at it, and a machine whose department is gone can no longer be read, updated, or deleted through the machines endpoints. Reassign both to another department before deleting this one. Deleting a department that was already deleted returns an already-deleted error rather than a not-found error.
Permissions requiredValues:departments:delete
The role behind your API key or agent must grant every one of these permissions.
idstringID of the department to delete.
Responses
200
Successful response for Delete Department