Skip to main content
Skip table of contents

CLI cookbook: deleting a replication spec

This topic describes how to use the command-line interface to delete a replication spec.

Procedure

  1. Switch to the replication spec context and list the specs on the system.

    CODE
    delphix> cd replication/spec
    delphix replication spec> ls
    Objects
    REFERENCE           TARGETHOST               
    REPLICATION_SPEC-1  exampleHost.mycompany.com
    
    Operations
    create
  2. Select the replication spec to remove.

    CODE
    delphix replication spec> select REPLICATION_SPEC-1
    delphix replication spec "exampleHost.mycompany.com">
  3. Remove the spec.

    CODE
    delphix replication spec "exampleHost.mycompany.com"> delete
    delphix replication spec "exampleHost.mycompany.com" delete *> commit
JavaScript errors detected

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

If this problem persists, please contact our support.