{"type":"api","title":"Generate CLI Mode Devices","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/65ee78ac-32f3-329c-b00c-b5d29b6bef36","info":{"title":"UX 1.0 Configuration","description":"Configuration of UX 1.0 device and policy.\n\nIncludes API operations for the following:\n- Managing original SD-WAN device configurations and policy configurations\n- Device templates and feature templates\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["Configuration - Template Configuration"],"description":"Generates a JSON object that contains a list of valid devices in CLI mode","operationId":"generateCLIModeDevices","parameters":[{"name":"type","in":"query","description":"Device type","required":true,"schema":{"type":"string","enum":["vedge","controller","vmanage"]}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"array","items":{"type":"object"}},"examples":{"Devices":{"description":"Devices","value":{"data":[{"deviceIP":"172.16.255.16","uuid":"C8K-0c9b3b23-bdcd-4162-8d4f-774e44e081ee","host-name":"vm6","local-system-ip":"172.16.255.16"},{"deviceIP":"172.16.255.21","uuid":"76611d8b-dca9-47fd-b204-338af931f506","host-name":"vm11","local-system-ip":"172.16.255.21"},{"deviceIP":"172.16.255.11","uuid":"9c8d59ec-e4ad-468a-8fb0-15a7747a9c30","host-name":"vm1","local-system-ip":"172.16.255.11"},{"deviceIP":"172.16.255.15","uuid":"C8K-ae0d5e97-4b0e-4a05-8582-9cc0d93c456c","host-name":"vm5","local-system-ip":"172.16.255.15"},{"deviceIP":"172.16.255.14","uuid":"554b21bf-cad3-4efe-91fa-4c68549a6616","host-name":"vm4","local-system-ip":"172.16.255.14"}]}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Device Inventory-read,Device Inventory-write,Template Deploy-read,Template Deploy-write,Device Inventory \u003e Edge-write","method":"get","path":"/template/config/device/mode/cli"}}