Skip to main content
Skip table of contents

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:

  1. Log into your Delphix Engine using delphix_admin (or admin privileged account)

    CODE
    ssh delphix_admin@<yourengine>
  2. Find the template you want to delete

    CODE
    delphix > selfservice
    delphix selfservice template > ls
    delphix selfservice template > select 'TEMPLATE_X'
    delphix selfservice template 'TEMPLATE_X'>
  3. Delete template and commit

    CODE
    delphix selfservice template 'TEMPLATE_X'> delete
    delphix selfservice template 'TEMPLATE_X' delete *> commit
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.