List departments for the current user
GET/department/
Retrieve a list of departments associated with the currently logged-in user.
Use Cases:
- Displaying a dropdown of departments the user can switch between.
- Quickly navigating to relevant departments the user has access to.
Responses
- 200
- 400
- 401
- 403
- 404
- 500
Successful Response
Bad Request
Unauthorized
Forbidden
Not Found
Internal Server Error