{"type":"api","title":"Push CLI Template","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 - Device Template"],"description":"Attach CLI device template\u003cbr\u003e\u003cbr\u003e\u003cbr\u003eNote: In a multitenant vManage system, this API is only available in the Provider view.","operationId":"pushCLITemplate","requestBody":{"description":"Device template","content":{"application/json":{"schema":{"type":"object"},"examples":{"Device template":{"description":"Device template","value":"{\n \"deviceTemplateList\":[\n {\n \"templateId\":\"41f6a440-c5cc-4cc6-9ca1-af18e332a781\", \n \"device\":[ \n {\n \"csv-status\":\"complete\",\n \"csv-deviceId\":\"5e5f45e7-3062-44b2-b6f6-40c682149e05\",\n \"csv-deviceIP\":\"172.16.255.11\",\n \"csv-host-name\":\"vm1\",\n \"//system/host-name\":\"vm1\",\n \"//system/system-ip\":\"172.16.255.11\",\n \"//system/site-id\":\"100\",\n \"csv-templateId\":\"41f6a440-c5cc-4cc6-9ca1-af18e332a781\",\n \"selected\":\"true\"\n \"pseudoCommitTimer\":11\n }\n ],\n \"isEdited\":false, \n \"isMasterEdited\":false, \n \"isDraftDisabled\":false \n }\n ]\n}"}}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"Task Id":{"description":"Task Id","value":{"id":"push_file_template_configuration-d13a002a-0475-43bf-85db-ef9224112a52"}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Template Deploy-write","method":"post","path":"/template/device/config/attachcli"}}