remove

dpsctl topology remove Usage Guide

Remove a datacenter topology.

Usage

dpsctl topology remove

Flags

Includes global dpsctl options.

   --topology value    topology name (required)
   --help, -h          show help

Examples

Basic Usage

$ dpsctl topology remove --topology old-datacenter
{
  "status": {
    "ok": true,
    "diag_msg": "Topology removed successfully"
  }
}

Remove Active Topology (Error)

$ dpsctl topology remove --topology active-datacenter
{
  "status": {
    "ok": false,
    "diag_msg": "Cannot remove active topology. Deactivate first."
  }
}

Remove Non-Existent Topology

$ dpsctl topology remove --topology non-existent
{
  "status": {
    "ok": false,
    "diag_msg": "Topology 'non-existent' not found"
  }
}

Notes

  • Topology must be deactivated before removal
  • This operation is irreversible
  • All topology relations and configurations are permanently deleted
  • Entities and policies may remain if used by other topologies
  • Use dpsctl topology deactivate first if the topology is active