Skip to main content
DELETE
/
api
/
v1
/
users
/
{user_id}
/
events
/
workouts
/
{workout_id}
Delete Workout
curl --request DELETE \
  --url https://api.example.com/api/v1/users/{user_id}/events/workouts/{workout_id} \
  --header 'Authorization: Bearer <token>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-Open-Wearables-API-Key
string | null

Path Parameters

user_id
string<uuid>
required
workout_id
string<uuid>
required

Response

Successful Response