Add A Static Route For An MX Or Teleworker Network

POST {{baseUrl}}/networks/:networkId/appliance/staticRoutes

Add a static route for an MX or teleworker network #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: name| string| The name of the new static route subnet| string| The subnet of the static route gatewayIp| string| The gateway IP (next hop) of the static route

Request Body

{"name"=>"<string>", "subnet"=>"<string>", "gatewayIp"=>"<string>"}

HEADERS

KeyDatatypeRequiredDescription
X-Cisco-Meraki-API-Keynull
Content-Typestring

RESPONSES

status: Created

{&quot;id&quot;:&quot;d7fa4948-7921-4dfa-af6b-ae8b16c20c39&quot;,&quot;networkId&quot;:&quot;N_24329156&quot;,&quot;enabled&quot;:true,&quot;name&quot;:&quot;My route&quot;,&quot;subnet&quot;:&quot;192.168.1.0/24&quot;,&quot;gatewayIp&quot;:&quot;1.2.3.5&quot;,&quot;fixedIpAssignments&quot;:{},&quot;reservedIpRanges&quot;:[]}