Delete a Particular Route
DELETE /v2/routes/:guid
Request
Route
DELETE /v2/routes/f617ccc3-aad9-4584-9cdf-2210921915fb
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'.
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/f617ccc3-aad9-4584-9cdf-2210921915fb" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyOCIsImVtYWlsIjoiZW1haWwtODNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzODY0MTc5Mn0.JtvxfiHGjia5iD6MAHJ2e_U8AIIR4ZgYvdZJoyi5rZ4" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers