Use this endpoint to update both the primary and failover routes for a phone number. You must create the routes first using the Create an Inbound Route endpoint. You can then assign the created routes by specifying their values within an array: the first route_name will be assigned as the primary route; the second route_name will be the failover route in the event the first route is unavailable.
The routes to be assigned to your phone number. Both the primary and failover routes must be specified inside of an array following this format:rtes = [Route(name=primary route), Route(name=secondary route)]. The first route name will be assigned as the primary route and the second route name specified will be assigned as the failover route. See List Inbound Routes for the steps to obtain available routes.
The phone number to which the route(s) will be assigned. This number must be in E.164 format. e.g. 12065551234