Remove interfaces
The /RemoveInterface commands removes one or multiple interfaces.
- Use the /Definition= parameter to remove all interfaces described in the XML file.
- Use the /Name= and /Version= parameters to remove a particular interface.
Do not use the /Definition= and /Name= parameters in one request.
Parameters
This command has the following parameters.
Parameter |
Required / Optional | Description |
---|---|---|
/Definition | Optional |
An XML file containing a definition of one or multiple interfaces. This command accepts the same XML file as the /AddInterface uses, allowing you to create and remove interfaces with the same XML file. See the Add interfaces section of this guide. |
/Name | Optional | Name of the interface. |
/Version | Optional | Version number of the interface. |
If an interface described in the XML file does not exist, the removal continues. If one or multiple interfaces could not be removed, the command fails, and no changes are made.
Examples
The following example demonstrates how to remove all interfaces from the file C:\Configuration\Interfaces.xml.
ManageCM /RemoveInterface /Definition=C:\Configuration\Interfaces.xml
The second example shows how to remove the version 3 of the interface ArchiveDocument.
ManageCM /RemoveInterface /Name=ArchiveDocument /Version=3