Delete Workout

DELETE https://api.runningahead.com/rest/logs/me/workouts/{id}

Delete the workout specified by id.

Request

Parameter Type Description
access_token string (required) OAuth 2.0 token for the current user.

Response

The response code is the only returned value.

Example

Request

https://api.runningahead.com/rest/logs/me/workouts/44e87875cc644d77a8ba6790b890990a?
access_token=VjU5s4dyhAPO2XiUzaNVeE

Response

{
    "code": 0
}

If the operation succeeded, a response code of 0 is returned. If an error has occurred, the proper code will be returned.