Skip to main content
DELETE
/
users
/
{userId}
/
logs
Delete all logs for a user
curl --request DELETE \
  --url https://production.runalloy.com/users/{userId}/logs \
  --header 'Authorization: <authorization>' \
  --header 'x-api-version: <x-api-version>'
{
  "message": "Success"
}

Headers

Authorization
string
default:bearer YOUR_API_KEY
required
x-api-version
string
default:2025-09
required

The version of the API to use. The current API version is 2025-09.

Query Parameters

userId
string
required

The Id of the user you want delete logs for. Returned from the Create User endpoint

Response

200 - application/json

200

message
string
Example:

"Success"

I