pi ip delete

Command Help

> pi ip del -h
Usage: pi ip delete [-h] [--yes] identifier

Description: Delete an IP, Line or IPV. Deleting an IP deletes all of its
Lines and the IPVs on those Lines. When deleting a Line, all of its IPVs are
deleted. If any IPV to be deleted is a Resource of another IPV or is used in a
Workspace or Snapshot, the entire command will fail, and nothing will be
deleted.  By default delete will run in dry-run mode only.

Positional arguments:
  identifier  Identifier of the IP, Line or IPV to delete.

Optional arguments:
  --yes, -y   Confirm that we want to run the command.
  -h, --help  Show this help message and exit

Examples:
# Delete the IP lib1.ip and all its Lines and Versions.
  pi ip delete lib1.ip1

# Delete the Line lib1.ip@.LINE and all its Versions.
  pi ip delete lib1.ip1@.LINE

# Delete the IP Version lib1.ip@1.LINE.
  pi ip delete lib1.ip1@1.LINE

More information and documentation available at:
  https://help.perforce.com/methodics/
Copyright © 2010-2025 Perforce, Inc.

Example

> pi ip del tutorial.badip
This operation cannot be reverted. Are you sure you want to proceed (yes/no)? yes
Successfully deleted IP 'tutorial.badip'.