Skip to main content
DELETE
/
v1
/
routes
/
{route_id}
Delete Route
curl --request DELETE \
  --url http://localhost:8000/v1/routes/{route_id}
{
  "id": "route_01HYX3MPK5XJQJG0NB0PRSDVWC",
  "object": "route",
  "deleted": true
}

Path Parameters

route_id
string
required

The unique route resource ID (prefixed with route_)

Example:

"route_01HYX3MPK5XJQJG0NB0PRSDVWC"

Response

Route deleted successfully

id
string
required

The deleted route ID

Example:

"route_01HYX3MPK5XJQJG0NB0PRSDVWC"

object
enum<string>
required
Available options:
route
Example:

"route"

deleted
boolean
required
Example:

true