{"type":"api","title":"Edit Master 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 - Template Master"],"description":"Edit template\u003cbr\u003e\u003cbr\u003e\u003cbr\u003eNote: In a multitenant vManage system, this API is only available in the Provider view.","operationId":"editMasterTemplate","parameters":[{"name":"templateId","in":"path","description":"Template Id","required":true,"schema":{"type":"string"}}],"requestBody":{"description":"Template","content":{"application/json":{"schema":{"type":"object"},"examples":{"Template":{"description":"Template","value":{"templateId":"81610551-9dc5-492f-ad3b-b2c30077b992","templateName":"vEdge_Device_Template","templateDescription":"Demo device template","deviceType":"vedge-100","configType":"template","factoryDefault":false,"policyId":"","featureTemplateUidRange":[],"connectionPreferenceRequired":true,"connectionPreference":true,"draftMode":false,"generalTemplates":[{"templateId":"3b30e089-2e26-44f1-b5b2-ac44f3f4279e","templateType":"aaa"},{"templateId":"e1b5b6e9-3b54-4279-a532-a2aaaef3e6a1","templateType":"bfd-vedge"},{"templateId":"998725f9-3572-4950-a5e5-d48827d347cd","templateType":"omp-vedge"},{"templateId":"486d419f-4e6c-44a5-a6fb-7b5ccf94ff90","templateType":"security-vedge"},{"templateId":"7d7396a2-4715-44d8-8f6e-ddf0ca06be44","templateType":"system-vedge","subTemplates":[{"templateId":"edf3d309-91d4-45be-98d9-cfd57a05a479","templateType":"logging"}]},{"templateId":"171e9bd4-7a7b-460d-b692-83f0d5ce0124","templateType":"vpn-vedge","subTemplates":[{"templateId":"a632ee5f-f489-46ec-8761-1b493d5a6a40","templateType":"vpn-vedge-interface"}]},{"templateId":"45ea940a-45d2-4fd9-8da2-570a1a6d6874","templateType":"vpn-vedge"}]}}}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"},"examples":{"Attached devices":{"description":"Attached devices","value":{"data":{"attachedDevices":[]}}}}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"put","path":"/template/device/{templateId}"}}