Skip to content

Deletes a custom waypoint

Request

Deletes a custom waypoint, allowing the backend to regroup the jobs from this waypoint freely.

Security
ApiKeyAuth
Path
tourIdstring, (uuid)required

Unique tour identifier (generated by Better Route backend)

Example:3fa85f64-5717-4562-b3fc-2c963f66afa6
waypointIdstring, (uuid)required

Unique waypoint identifier (generated by Better Route backend)

Example:b3f1a2c4-1234-4a2b-9c3d-abcdef123456
curl -i -X DELETE \
  https://dev.routes.bettermile.com/v1/tours/3fa85f64-5717-4562-b3fc-2c963f66afa6/custom-waypoints/b3f1a2c4-1234-4a2b-9c3d-abcdef123456 \
  -H 'x-api-key: YOUR_API_KEY_HERE'

Responses

Successfully deleted the custom waypoint

Bodyapplication/json
dataobject
Example:
{}
Response
{ "data": {} }