{"type":"api","title":"Save Template","meta":{"id":"/apps/pubhub/media/cisco-catalyst-sd-wan-api-guide-20-18/1c4807bcb76af36988ebb37dc2e455b1787a155e/744a8207-9965-344e-aed3-d3ef846a4950","info":{"title":"Others","description":"Other APIs\n- Include APIs that do not belong to other categories\n","contact":{"email":"vmanage@cisco.com"},"version":"20.18 - 2025-08-15"},"openapi":"3.1.0","servers":[{"url":"/dataservice"}]},"spec":{"tags":["SmartLicensing - Templates"],"description":"Create and assign license template.","operationId":"saveTemplate","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"licenseTemplate":{"type":"object","properties":{"licenseType":{"type":"string","example":"postpaid"},"licenses":{"type":"array","items":{"type":"object","properties":{"display_name":{"type":"string","example":"Routing DNA Premier: Tier 3"},"tag":{"type":"string","example":"regid.2020-10.com.cisco.DSTACK_T3_P,1.0_4fbf7891-fdee-4b78-9d70-696b260ef347"}},"$$ref":"#/components/schemas/SaveTemplateRequestLicenseTemplateLicenses"}},"saAccount":{"type":"string","example":"316448"},"saName":{"type":"string","example":"testaccount1.viptela.com"},"subscriptionsUsed":{"type":"array","items":{"type":"object","properties":{"subscription_id":{"type":"string","example":"3432DFGDGFD"}},"$$ref":"#/components/schemas/SaveTemplateRequestLicenseTemplateSubscriptionsUsed"}},"templateName":{"type":"string","example":"TestTemplate"},"useExistingTemplate":{"type":"boolean","example":false},"uuid":{"type":"array","items":{"type":"string"}},"vaAccount":{"type":"string","example":"702546"},"vaName":{"type":"string","example":"vManage_Test_Postpaid"}},"$$ref":"#/components/schemas/SaveTemplateRequestLicenseTemplate"}},"$$ref":"#/components/schemas/SaveTemplateRequest"}}},"required":true},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Bad Request"},"403":{"description":"Forbidden"},"500":{"description":"Internal Server Error"}},"method":"post","path":"/v1/smart-licensing/template"}}