Bulk delete departments
DELETE/api/v2/departments
Removes every id in ids as a single all-or-nothing transaction. If any id is missing or outside the user's company scope the whole operation is rolled back. There is no If-Match header on this endpoint.
Request
Responses
- 200
- 400
- 401
- 403
- 500
All entities deleted
Empty ids, malformed payload, or unknown id
Missing or invalid JWT (Bearer token).
Authenticated user is missing the BORRAR_DEPARTAMENTO permission
Unexpected server error. Includes legacy WAR failures that are not classified as 502 / 503 / 504.