Skip to main content
DELETE
/
v1
/
projects
/
{project-id}
/
default_sites
/
{waypoint-type}
/
{site-id}
Delete a single site from a default list of an order.
curl --request DELETE \
  --url https://api.tread-horizon.com/v1/projects/{project-id}/default_sites/{waypoint-type}/{site-id} \
  --header 'Authorization: Bearer <token>'
{
  "error": {
    "code": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tread.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Accept-Language
string
default:en

The Accept-Language request HTTP header indicates the natural language and locale that the client prefers.

Example:

"en"

Path Parameters

waypoint-type
enum<string>
required

Waypoint type

Available options:
pickup,
drop_off
site-id
string
required

Site id

project-id
string
required

Project id

Response

Shared Response