Delete a plan
The playground uses your live account
Delete a plan and related routes. This action cannot be undone and will delete all the releated routes as well, even if the plan is not in a writable state. As this action is not atomic, it is possible that only partial deletion occurs if the endpoint errors out with a 500. In that case it is recommended to retry the request.
BasicAuthAuthorizationBasic <token>Use the API key as the username and leave the password empty.
planId*stringThe plan id
^[a-zA-Z0-9---_]{1,50}$Plan deleted successfully
curl -X DELETE 'https://api.spoke.com/public/v1/plans/string'Update an existing plan PATCH
Update an existing plan. If the plan writable property is false, prefer using the Live Plans API.
Optimize a plan POST
Optimize a plan. Returns the created operation, which can be polled for the result. Use the returned id with the operations endpoints to poll for the result.