MuscleMate / BackEnd

API for MuscleMate app
3 stars 0 forks source link

Add DELETE tournament request #12

Closed VEXI19 closed 3 months ago

VEXI19 commented 6 months ago

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