Delete department
DELETE/api/v2/departments/:id
Deletes an employee department.
Request
Responses
- 204
- 401
- 403
- 404
- 409
- 500
Department deleted
Missing or invalid JWT (Bearer token).
Authenticated user is missing the BORRAR_DEPARTAMENTO permission
Department not found
Version conflict ÔÇö the resource was modified by another user since the version supplied in If-Match was issued.
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.