Update A Static Route For An MX Or Teleworker Network

PUT {{baseUrl}}/networks/:networkId/appliance/staticRoutes/:staticRouteId

Update a static route for an MX or teleworker network #### Body Parameters Parameter|Type|Description :-------------: |:-------------: |:-------------: name| string| The name of the static route subnet| string| The subnet of the static route gatewayIp| string| The gateway IP (next hop) of the static route enabled| boolean| The enabled state of the static route fixedIpAssignments| object| The DHCP fixed IP assignments on the static route. This should be an object that contains mappings from MAC addresses to objects that themselves each contain ip and name string fields. See the sample request/response for more details. reservedIpRanges| array| The DHCP reserved IP ranges on the static route

Request Body

{"name"=>"<string>", "subnet"=>"<string>", "gatewayIp"=>"<string>", "enabled"=>"<boolean>", "fixedIpAssignments"=>{}, "reservedIpRanges"=>[{"start"=>"<string>", "end"=>"<string>", "comment"=>"<string>"}, {"start"=>"<string>", "end"=>"<string>", "comment"=>"<string>"}]}

HEADERS

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

RESPONSES

status: OK

{&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;22:33:44:55:66:77&quot;:{&quot;ip&quot;:&quot;1.2.3.4&quot;,&quot;name&quot;:&quot;Some client name&quot;}},&quot;reservedIpRanges&quot;:[{&quot;start&quot;:&quot;192.168.1.0&quot;,&quot;end&quot;:&quot;192.168.1.1&quot;,&quot;comment&quot;:&quot;A reserved IP range&quot;}]}