Deleting functionality for Journey and Campaign applications

If a Unica application is removed, then it is necessary to run a script in Unica Link to clean up the artifacts that were created for that application.

This is done by running the script remove_application.sh which can be found in directory <install_dir>/remove_application.sh in the Unica Link install.

Run the command with the following 4 arguments:

remove_application.sh <base-url> <username> <password> <application>

where:
  • base-url - the base URL for Link server. This should be of form: https://<hostname>:8443. If defaults were used during installation, then the default port is 8443.

  • username and password – the credentials for an administrative user for Unica Link.

  • application – the name of the application.

When successful, the command provides details about the deleted project and packages. For example:

$ remove_application.sh https://localhost:8443 admin ***** journey
{
    "application": "journey",
    "deleted_project": {
        "_id": "5ed6b1de2ab79c0001a7e36d",
        "name": "_app_journey",
        "version": 1
    },
    "deleted_packages": [
        "_package__app_journey_act1",
        "_package__app_journey_act23"
    ]
}