Set the main depot for the team
POST
The playground uses your live account
Requests are sent with your real API key, so creating, updating or deleting here changes your production data.
BasicAuthheader
AuthorizationBasic <token>Use the API key as the username and leave the password empty.
depotId*stringThe depot id
Match
^[a-zA-Z0-9---_]{1,50}$Depot set as main successfully
curl -X POST 'https://api.spoke.com/public/v1/depots/string:setMain'Example Response
Empty