Delete time tracker
Permanently deletes a time tracker and all its associated intervals. This action cannot be undone.
Only the tracker owner can delete their own trackers. If the tracker is currently running, it will be stopped before deletion.
DELETE
/account/time-tracker/{id}Authorization
AuthorizationOAuth2 access token · headerrequiredScopes:
api:writeor
AuthorizationBearer token (JWT) · headerrequiredResponses
200
successbooleanrequiredOperation success flag
401Unauthorized - Invalid or missing authentication token
403Forbidden - Insufficient API scopes or permissions
404Tracker not found or does not belong to user
Request
curl -X DELETE "https://leadtime.app/api/public/account/time-tracker/{id}" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"const response = await fetch("https://leadtime.app/api/public/account/time-tracker/{id}", {
method: "DELETE",
headers: {
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
});import requests
response = requests.delete(
"https://leadtime.app/api/public/account/time-tracker/{id}",
headers={
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
},
)Response
{
"success": true
}Unauthorized - Invalid or missing authentication token
Forbidden - Insufficient API scopes or permissions
Tracker not found or does not belong to user