Deleting a Report
Pre-requisites:
To delete an existing report through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named delete Report for this purpose.
To delete an existing report
Run the command delete Report. The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd delete Report [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -report <REPORT>
The input parameters are:
Parameter | Description |
CENTRASITE-URL | (Optional). The URL of the CentraSite registry. For example, http://localhost:53307/CentraSite/CentraSite. |
USER-ID | The user ID of a registered CentraSite user who has the CentraSite Administrator role. For example, Administrator. |
PASSWORD | The password for the registered CentraSite user identified by the parameter USER-ID. |
REPORT | Name or key of the report you want to delete. If the report name contains white spaces, enclose the name with "". |
Examples (all in one):
Providing report name:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd delete Report -url http://localhost:53307/CentraSite/CentraSite –user Administrator –password manage –report “API Usage Report”
Providing report key:
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd delete Report -url http://localhost:53307/CentraSite/CentraSite –user Administrator –password manage –report uddi:137738d6-c66b-11e4-8896-da7def414f92
The response to this command could be:
Executing the command : delete Report
Successfully executed the command : delete Report