CLI cookbook: how to delete a Delphix self-service template
Prerequisites:
Template has no dependant containers
Know the name of the template you are going to delete
Have delphix_admin privileges (note JetStream Only users and Delphix GUI Owners cannot delete templates)
Procedure:
Log into your Delphix Engine using delphix_admin (or admin privileged account)
CODEssh delphix_admin@<yourengine>
Find the template you want to delete
CODEdelphix > selfservice delphix selfservice template > ls delphix selfservice template > select 'TEMPLATE_X' delphix selfservice template 'TEMPLATE_X'>
Delete template and commit
CODEdelphix selfservice template 'TEMPLATE_X'> delete delphix selfservice template 'TEMPLATE_X' delete *> commit