Update network connection routing policy.

PATCH {{baseUrl}}/network_connections/:connectionId/set_routing_policy

Updates an existing network connection's routing policy.

Note: This API call is subject to Flexible Routing Schemes.

Your routing policy defines how your transactions are routed. You can choose 1 of the 3 different schemes mentioned below for each asset type: - None; Defines the profile routing to no destination for that asset type. Incoming transactions to asset types routed to None will fail. - Custom; Route to an account that you choose. If you remove the account, incoming transactions will fail until you choose another one. - Default; Use the routing specified by the network profile the connection is connected to. This scheme is also referred to as Profile Routing

Default Workspace Presets: - Network Profile Crypto → Custom - Network Profile FIAT → None - Network Connection Crypto → Default - Network Connection FIAT → Default

Supported asset groups for routing police can be found at /network_ids/routing_policy_asset_groups

- **Note**: By default, Custom routing scheme uses (`dstId` = `0`, `dstType` = `VAULT`).

Request Body

{"routingPolicy"=>{"ada5e"=>{"scheme"=>"CUSTOM", "dstType"=>"VAULT", "dstId"=>"<string>"}}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;success&quot;:&quot;\u003cboolean\u003e&quot;}