EndpointsRoutes
Delete route
Deletes a specific route for the authenticated user. PAT callers must set X-Routess-Confirm: true.
DELETE
header
AuthorizationBearer <token>Personal access token for non-browser clients. Mint at Settings → API Tokens. Carries one of two scopes: read (list/get Routes, export GPX, profile) or write (read plus metadata-only mutations on owned routes and on preferences). Blocked from /admin/* and from DELETE /users/me. Destructive operations require X-Routess-Confirm: true and return 428 PRECONDITION_REQUIRED otherwise. See ADR-0022 and ADR-0023.
id*numberRoute ID
X-Routess-Confirm?stringRequired as true for PAT callers. Cookie sessions ignore this header.
Route deleted successfully
response?unknownapplication/jsoncurl -X DELETE 'https://api.routess.com/routes/0'{ "success": true, "message": "Route deleted successfully"}