Summary: This page describes the CLI (Command Line Interface) option that is available to fully delete an Application from the AIP Console.
What does the CLI option do?
This CLI option will fully delete an Application from the AIP Console (this option is also available in the AIP Console GUI). It is generally only necessary to use the CLI option if you have attempted to delete an Application in the GUI and this has failed. The CLI option will then attempt to fully remove all trace of the Application from the AIP Console for example:
- delete the Application specific Delivery folder
- delete the CAST AIP schemas
- delete any AIP Console embedded database entries
How does it work?
The CLI option is run via a predefined batch file using specific options. The batch must be run on the AIP Node which is used to manage the Application you want to delete. You can find the batch file in the following location - i.e. on the AIP Node:
Run this batch script from a CMD window using the following arguments - see Available CLI arguments:
Available CLI arguments
|-appName||-||Specifies the Application to be imported. This is case-sensitive and must match the name of the Application as defined in the CAST Management Studio.|
|-apiHost||Specifies the server/port URL for the AIP Node. If omitted, the default value is used.|
Specifies the access token for the AIP Node. This can be found in the <AIP_console_installation>\AipNode\data\aip-node-app.properties file on the line spring.liquibase.parameters.baseToken
|-keepData||NO||Specifies whether you want to keep the data associated with the Application (Delivery folder, AIP schemas, AIP Console database entries). If omitted, the default value is used (data is deleted). If you intend to re-import the Application, use this option.|
Remove the Application "MEUDON" from the AIP Node "my_aip_node", deleting all data:
Remove the Application "MEUDON" from the AIP Node "my_aip_node", retaining all data: