{"type":"api","title":"Update Route","meta":{"id":"/apps/pubhub/media/nfvis-api/e3678dda6abe6c2a26c7698d553a4574e3f45071/262737b2-b3c2-32cd-b07b-fdbdcd23918f","info":{"title":"NFVIS API","description":"NFVIS RESTCONF API Documentation","version":"4.14.1"},"x-parser-conf":{"overview":{"markdownPath":"reference/overview.md"}},"swagger":"2.0","basePath":"/{nfvis_ip}/restconf","schemes":["https"],"securityDefinitions":{"basicAuth":{"type":"basic"}}},"spec":{"tags":["System Routes"],"summary":"Update Route","description":"Modify an existing route or delete a route","operationId":"data_system_system_routes_route_route_destination_route_prefixlen_put","produces":["application/yang-data+json"],"parameters":[{"name":"route-destination","in":"path","description":"Destination address","required":true,"type":"string","format":"union","$$ref":"#/parameters/route-destination"},{"name":"route-prefixlen","in":"path","description":"Network Prefix length","required":true,"type":"integer","format":"byte","$$ref":"#/parameters/route-prefixlen"},{"name":"route","in":"body","description":"","required":true,"schema":{"type":"object","properties":{"system:route":{"type":"array","description":"(list)","x-yang":{"type":"list"},"items":{"type":"object","properties":{"destination":{"description":"Destination address (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"union"},"prefixlen":{"description":"Network Prefix length (leaf)","x-yang":{"type":"leaf"},"type":"integer","format":"byte"},"gateway":{"description":"Gateway address (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"union"},"dev":{"description":"device (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"string"},"status":{"description":"Route create status (leaf)","x-yang":{"type":"leaf"},"type":"string","format":"enumeration","default":"Failed","enum":["Failed","Success"]}}}}},"$$ref":"#/definitions/data_system_system_routes_route_route-destination_route-prefixlen"},"$$ref":"#/parameters/data_system_system_routes_route_route-destination_route-prefixlen"},{"name":"insert","in":"query","description":"controlling the order when adding new list elements","required":false,"type":"string","format":"enumeration","default":"first","enum":["first","last","before","after"],"$$ref":"#/parameters/insert"},{"name":"point","in":"query","description":"used to specify the insertion point","required":false,"type":"string","format":"string","$$ref":"#/parameters/point"}],"responses":{"201":{"description":"list route created or replaced"},"204":{"description":"No Content","$$ref":"#/responses/204"},"400":{"description":"Bad Request","$$ref":"#/responses/400"},"401":{"description":"Unauthorized","$$ref":"#/responses/401"},"404":{"description":"Not Found","$$ref":"#/responses/404"},"405":{"description":"Method Not Allowed","$$ref":"#/responses/405"},"409":{"description":"Conflict","$$ref":"#/responses/409"}},"security":[{"basicAuth":[]}],"__originalOperationId":"data_system_system_routes_route_route_destination_route_prefixlen_put","consumes":["application/yang-data+json"],"method":"put","path":"/data/system:system/routes/route={route-destination},{route-prefixlen}"}}