Open this page in the API Guide

DashboardCanvasService.removeTemplate Method

Removes the template, and position all design objects not in the template absolutely relative to the background.