Skip to main content
Skip to Content
Dispatch API

Delete a stop

POST
/plans/{planId}/stops/{stopId}:liveDelete

The playground uses your live account

Requests are sent with your real API key, so creating, updating or deleting here changes your production data.

Delete a stop on live plans. When the plan is not writable, this endpoint starts an editing session and the action can be applied through a new optimization, or be discarded.

Authorization

BasicAuth
headerAuthorizationBasic <token>

Use the API key as the username and leave the password empty.

Path Parameters

planId*string

The plan id

Match^[a-zA-Z0-9---_]{1,50}$
stopId*string

The stop id

Match^[a-zA-Z0-9---_]{1,50}$

Response Body

Success

application/json
  1. response

Success

pending*boolean
Example Request
curl -X POST 'https://api.spoke.com/public/v1/plans/string/stops/string:liveDelete'
Example Response
{  "pending": true}