Open this page in the API Guide

CanvasAdapter.detachTemplate Method

Detach the template, copy all template's content to the dashboard, and remove the template