CentraSite 10.11 | CentraSite Administrator’s Guide | Managing Logs | Deleting Deployment History
 
Deleting Deployment History
To delete deployment history through the CentraSite Command Line Interface, you must have the CentraSite Administrator, Organization Administrator, API Gateway Administrator, API Gateway Publisher, Mediator Administrator, or Mediator Publisher role.
CentraSite provides a command tool named delete Deployment History for this purpose.
*To delete deployment history
*Run the command delete Deployment History.
The syntax is as follows:
CentraSiteCommand delete Deployment History [-url CENTRASITE-URL] -user USER-ID ​-password PASSWORD [-assetType ASSET-TYPE] [-asset ASSET NAME] [-ids ids of the objects]
The input parameters are as follows:
Parameter
Description
CENTRASITE-URL
(Optional). The URL of the CentraSite registry. The default value is http://localhost:53307/CentraSite/CentraSite.
USER-ID
The user ID of a registered CentraSite user. For example, Administrator.
PASSWORD
The password for the registered CentraSite user identified by the parameter USER-ID.
ASSET TYPE
The asset type name in the format {namespace}SchemaName.
ASSET NAME
The asset name of the object.
ids of the objects
The ID or IDs of the deployment history that you want to delete. Multiple IDs must be separated by commas.
The ID is available in the CentraSite Business UI link.
A sample CentraSite Business UI link is as follows:
http://host:port/BusinessUI/​#deploymenthistory:uddi:dd2dd9a0-df1c-11eb-a908-dae46a7f6b95
The id of the object from the sample shown is as follows:
uddi:dd2dd9a0-df1c-11eb-a908-dae46a7f6b95
Example (all in one line):
C:\Software AG_directory\CentraSite\utilities>CentraSiteCommand.cmd delete Deployment history -user Administrator -password manage -url http://localhost:53307/CentraSite/CentraSite -ids "uddi:dd2dd9a0-df1c-11eb-a908-dae46a7f6b95" -asset "BLZService_VS" -assetType "Virtual Service"
The response to this command is as follows:
Executing the command : delete Deployment History
The delete deployment log command executed successfully for BLZService_VS.
Successfully executed the command : delete Deployment History