Delete a Particular Route
DELETE /v2/routes/:guid?recursive=true
Request
Route
DELETE /v2/routes/65d891a3-eca8-4254-b264-94357747965e?recursive=true
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Route
|
|
|
async
|
Will run the delete request in a background job. Recommended: 'true'.
|
|
|
recursive: true
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/65d891a3-eca8-4254-b264-94357747965e?recursive=true" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5MiIsImVtYWlsIjoiZW1haWwtMjYzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTMzMTA5OTB9.gI9m-mBC2RnXFfGlG52u9LxyM1NAXCEzs8RiQiLzxJ8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers