Documentation menu
Routing
DELETE/v1/navigation/sessions/{id}
Access and price
| Auth | An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Not metered: it draws no quota and no credit. Needs a full key; a browser (maps) key is refused. |
|---|---|
| Price | Not metered: no quota, no credit. |
What it does
End a session and drop everything it held. Free.
An API key, as Authorization: Bearer snk_… or ?api_key=snk_…. Not metered: it draws no quota and no credit.
Call it
bash
curl -fsS -X DELETE "https://api.mapmap.ai/v1/navigation/sessions/{id}" \
-H "Authorization: Bearer $MAPMAP_KEY"Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| id | path | string | yes | The session id |
Responses
204Deleted: the route and the last fix are gone
401Missing or invalid API key. Also: No key, or a missing, malformed, unknown, revoked or expired one (
unauthorized)application/problem+json · Problem
403A browser (
maps-scoped) key on a route that needs a full-scope key (scope-insufficient)application/problem+json · Problem
404No such session for this key
application/problem+json · Problem
504The request did not finish within the gateway's request deadline (
request-timeout)application/problem+json · Problem
Error bodies follow the shared problem model documented on API conventions.
Also under Routing
POST /centroidPOST /locatePOST /routePOST /route/alongPOST /route/progressPOST /route/reportGET /route/v1/{profile}/{coordinates}POST /trace_attributesPOST /trace_routePOST /v1/camera-incidentsPOST /v1/cameras/alongPOST /v1/errands/planPOST /v1/incidents/alongPOST /v1/navigation/sessionsGET /v1/navigation/sessions/{id}POST /v1/navigation/sessions/{id}/progressPOST /v1/route/heritagePOST /v1/route/observationsGET /v1/zones
Generated from https://api.mapmap.ai/openapi.json on 2026-11-22 · operationId delete_session