Delete a Particular Route
DELETE /v2/routes/:guid
Request
Route
DELETE /v2/routes/d56db0ff-1629-4ab6-b1f2-1a08aa6a4acf
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'.
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/d56db0ff-1629-4ab6-b1f2-1a08aa6a4acf" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3OCIsImVtYWlsIjoiZW1haWwtMTk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTN9.WlwynXy70X6E2WHXQ9hlbDRQM5Oo9H_32YOJARZYCEU" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers