Software AG Products 10.5 | Using CentraSite | Report Management | Managing Reports and Report Templates through Command Line Interface | Revoking Association Between Asset Type and Report
 
Revoking Association Between Asset Type and Report
Pre-requisites:
To remove association between an asset type and report through the CentraSite Command Line Interface, you must have the CentraSite Administrator role.
CentraSite provides a command tool named delete Report Association for this purpose.
*To list asset types associated to a report
*Run the command delete Report Association.
The syntax is of the format: C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd delete Report Association [-url <CENTRASITE-URL>] -user <USER-ID> -password <PASSWORD> -associatedReport <ASSOCIATED-REPORT> -associatedType <ASSOCIATED-TYPE>
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.
ASSOCIATED-REPORT
Name or ID (UUID) of the report you want to disassociate from the asset type(s). If the report name contains white spaces, enclose the name with "".
ASSOCIATED-TYPE
Name of a particular asset type you want to disassociate from the report identified by the parameter ASSOCIATED-REPORT, or simply "Asset Type" to disassociate all of the predefined asset types from the report.
If the asset type name contains white spaces, enclose the name with "". For multiple asset types, use a comma to separate the values.
Example (all in one line):
C:\SoftwareAG\CentraSite\utilities>CentraSiteCommand.cmd delete Report Association -url http://localhost:53307/CentraSite/CentraSite -user Administrator -password manage –associatedReport “API Usage Report” -associatedType "REST Service"
The response to this command could be:
Executing the command : delete Report Association

Successfully executed the command : delete Report Association