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
Key | Datatype | Required | Description |
---|---|---|---|
X-Cisco-Meraki-API-Key | null | ||
Content-Type | string |
RESPONSES
status: OK
{"id":"d7fa4948-7921-4dfa-af6b-ae8b16c20c39","networkId":"N_24329156","enabled":true,"name":"My route","subnet":"192.168.1.0/24","gatewayIp":"1.2.3.5","fixedIpAssignments":{"22:33:44:55:66:77":{"ip":"1.2.3.4","name":"Some client name"}},"reservedIpRanges":[{"start":"192.168.1.0","end":"192.168.1.1","comment":"A reserved IP range"}]}