Remove an inbound route association from one of your long code or toll-free phone numbers.
Endpoint
DELETE /numbers/:id/relationships/:route_typePath Parameter
-
number_id
string REQUIREDThe phone number from which the route for voice will be removed. This number must be in 11-digit North American format. e.g. 12065551234.
-
route_type
string REQUIREDWhich route type to remove. This must be either primary_route or failover_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.