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