Apply / Upload Template (LE)
4 min
apply / upload template (le) ui trigger system > device management > templates > apply template (downloads a zip , then re uploads it) what the ui does invisibly when a user clicks "download template", the ui first clears any previous upload session, then creates a new one, then uploads the file the user just sees a file download/upload dialog step table step name in collection method endpoint body / notes output 0 step 0 apply template delete {{edgeurl}}/dm/template/v2 no body clears any stale upload session 200 ok 1 step 1 apply template post {{edgeurl}}/dm/template/v2 {"size" \<file bytes>} {"id" "\<session id>"} 2 step 2 apply template put {{edgeurl}}/dm/template/v2/{id}/resume binary file bytes in body 200 ok, template applied related download a template to export a template (before applying it elsewhere) name method endpoint notes download template post {{edgeurl}}/dm/template body json with device ids and flags to include/exclude components see also resumable uploads concept # system / device management reference #