Create DELETE request responsible for deleting specified tournament. Remember to check if user trying to delete the workout is an owner of the workout or an admin (is on an admin list) [user field with user id sending the request will be automatically added to the request body]
Example request
DELETE API_URL/tournaments/2h8fh9h43932
Path parameter
tournamentID
Response
Response should contain tournamentID of a tournament that was deleted.
Create DELETE request responsible for deleting specified tournament. Remember to check if user trying to delete the workout is an owner of the workout or an admin (is on an admin list) [user field with user id sending the request will be automatically added to the request body]
Example request
DELETE API_URL/tournaments/2h8fh9h43932
Path parameter
Response
Response should contain tournamentID of a tournament that was deleted.