Delete a Particular Route
DELETE /v2/routes/:guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
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'.
|
|
|
Request
Headers
Route
DELETE /v2/routes/dc6b2530-d2bd-4e22-bd71-26b02baa06b5
cURL
curl "https://api.[your-domain.com]/v2/routes/dc6b2530-d2bd-4e22-bd71-26b02baa06b5" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM2NiIsImVtYWlsIjoiZW1haWwtMjY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE3MDl9.T43-ymC55NHLmzFfXpWUf-sLZmD4sX17rH_zzDLzCwM" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
204 No Content