Delete configuration
- Last UpdatedFeb 28, 2025
- 1 minute read
Use EdgeCmd utility to delete adapter or EDS configurations or configuration entries that you no longer need.
Note: The examples in this topic are using the default port number 5590. If you specified a different port number for your adapter or EDS, you need to add it in the command. For example:
edgecmd -port 5591 <RestOfTheCommand>
Delete configuration entry
Complete the following steps to delete a configuration entry from a collection configuration. For example, you can delete a single health endpoint of the HealthEndpoints facet within the System component.
-
Access EdgeCmd utility through the command line.
-
Type the remove keyword.
-
Add the <facetName> and <componentId>, replacing both with their respective values.
-
Add the ID of the entry to be removed. Then press Enter.
edgecmd remove <facetName> -cid <componentId> -id <entry>
Example: Delete endpoint_1 of the HealthEndpoints facet in the System component:
edgecmd remove HealthEndpoints -cid System -id endpoint_1
Note: If the facet is part of the System component, the command does not require <componentId>, for example:
edgecmd remove HealthEndpoints -id OcsEndpoint
Delete entire configuration
Complete the following steps to delete the entire configuration of a system facet. For example, you can delete the configuration of the HealthEndpoints facet within the System component.
-
Access EdgeCmd utility through the command line.
-
Type the remove keyword.
-
Add the <facetName> and <componentId>, replacing both with their respective values. Then press Enter.
edgecmd remove <facetName> -cid <componentId>
Example: Delete the HealthEndpoints facet configuration file from the System component:
edgecmd remove HealthEndpoints -cid System
Note: To skip the confirmation prompt, specify the -y parameter in the command.