{"type":"api","title":"Attach Device 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 device template\u003cbr\u003e\u003cbr\u003e\u003cbr\u003eNote: In a multitenant vManage system, this API is only available in the Provider view.","operationId":"attachDeviceTemplate","requestBody":{"description":"Device template","content":{"application/json":{"schema":{"type":"object"},"examples":{"Device template":{"description":"Device template","value":{"deviceTemplateList":[{"templateId":"41f6a440-c5cc-4cc6-9ca1-af18e332a781","device":[{"csv-status":"complete","csv-deviceId":"C8K-8f8cc50c-b05b-4a60-956b-5bdd8e79e5c0","csv-deviceIP":"172.16.255.15","csv-host-name":"vm5","//system/host-name":"vm5","//system/system-ip":"172.16.255.15","//system/site-id":"100","csv-templateId":"41f6a440-c5cc-4cc6-9ca1-af18e332a781","selected":"true"}],"isEdited":false,"isMasterEdited":false,"isDraftDisabled":false}]}}}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"Task Id":{"description":"Task Id","value":{"id":"push_template_configuration-3140b324-7a4b-465d-92cc-847a6c01c340"}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"x-roles-required":"Template Deploy-write","method":"post","path":"/template/device/config/attachment"}}