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

Documentation Index

Fetch the complete documentation index at: https://openwearables.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

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
sleep_id
string<uuid>
required

Response

Successful Response