Remove an inbound route from your account.
Endpoint
DELETE /routes/:id/Path Parameter
-
id
string REQUIREDThe route id you wish to remove. Note: the route specified must not be in use by any TNs as either a Primary or Failover Route.
(see Remove a Voice Route for a Phone Number to remove all existing references to this route.)
Response
On success, the HTTP status code in the response header is 204 NO CONTENT which means that the server successfully processed the request and is not returning any content. On error, the header status code is an error code and the response body contains an array of error objects.