Skip to main content
Skip to Content
Dispatch API

Remove a depot

DELETE
/depots/{depotId}

The playground uses your live account

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

Authorization

BasicAuth
headerAuthorizationBasic <token>

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

Path Parameters

depotId*string

The depot id

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

Response Body

Depot removed successfully

Example Request
curl -X DELETE 'https://api.spoke.com/public/v1/depots/string'
Example Response
Empty