/api/routes/{routeId}Replace a route configuration
Replaces the configuration of the route identified by its route ID. Supply the route fields required by the schema, and use either network or domains to define the destination because those fields conflict. The route's peer and peer_groups settings are also mutually exclusive.
Replacement route configuration. The schema requires id, description, network_id, enabled, metric, masquerade, groups, and keep_route; id is required but has no property definition in the supplied schema.
A 400 is returned for a malformed request, a 401 when authentication is required but missing or invalid, a 403 when the operation is forbidden, and a 500 for an internal server error. The routeId path parameter must identify the route to replace; the body schema requires id, description, network_id, enabled, metric, masquerade, groups, and keep_route. metric must be between 1 and 9999, network_id must contain 1 to 40 characters, and the conflicting field pairs network with domains and peer with peer_groups cannot be supplied together.