---
title: "Delete a stop"
method: POST
path: "/plans/{planId}/stops/{stopId}:liveDelete"
tags: ["Live Stops"]
---

# Delete a stop

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

## Request

- Base URL: `https://api.spoke.com/public/v1`
- URL: `https://api.spoke.com/public/v1/plans/{planId}/stops/{stopId}:liveDelete`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/spoke/apis/spoke-api/docs/plans/:planId/stops/:stopId:liveDelete/post.ts> (a function with typed inputs; its response is checked against the schema)

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.

## Path parameters

- `planId` string, required
- `stopId` string, required

## Response `200`

Success

- object: Success
  - `pending` boolean, required

## Other responses

- `400`: ID format is invalid
- `401`: Unauthorized
- `403`: Plan is no longer accessible due to data access restrictions. Upgrade to a plan that supports a longer delivery history period to access it.
- `404`: Not Found
- `409`: The plan's optimization is in progress.
- `422`: Failed to delete stop
- `500`: An internal server error occurred
- `default`: The default error model

---

[API](https://skmtc.dev/spoke/apis/spoke-api.md) - [All operations](https://skmtc.dev/spoke/apis/spoke-api/llms.txt) - [OpenAPI document](https://skmtc.dev/spoke/apis/spoke-api/revisions/a09d9194ae1c?raw)
