Delete a team
DELETE/management/teams/:id
Delete handles HTTP DELETE requests to remove a team resource by its ID. It parses the "id" parameter from the request URL, validates it, and calls the teamService.Delete method. If the ID is invalid or the deletion fails, it returns a 422 Unprocessable Entity status with an error message. On successful deletion, it returns a 200 OK status with an empty response body.
Request
Responses
- 200
- 422
Team removed
Unprocessable Entity