Delete a Particular Route
DELETE /v2/routes/:guid
Request
Route
DELETE /v2/routes/08d05e05-ef06-49ab-8dc7-f0f91241239e
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/08d05e05-ef06-49ab-8dc7-f0f91241239e" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwIiwiZW1haWwiOiJlbWFpbC00MEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI5MDM4Njk5fQ.gHKo3Zh6SntiXDDKTFBUiwJqhb8ZDcBdEmeMJs9hQOE" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers