Remove a user from a department
DELETE/department/:department_id/users/:email
Remove a user from a department, revoking their access and role assignments.
Use Cases:
- Offboarding a user who leaves the company or changes teams.
- Maintaining strict access controls within the department.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 422
- 500
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Validation Error
Internal Server Error