app-delete
The app-delete task deletes an application package on a Journey Manager server.
Task Attributes
All attributes are optional unless otherwise indicated.
| Attribute | Description |
|---|---|
clientCode | StringRequired. The client code of the organization in TM. |
name | StringRequired. The name of the application package. The application package must belong to the client specified in the |
url | StringRequired. The TM server URL. |
username | StringRequired. The TM server login username. |
password | StringRequired. The TM server login password. |
proxyFile | StringPath to the HTTP proxy configuration properties file. |
TM Security
To use this task, the user specified by username needs an active user account on the TM server with access to the Management Console module.
To be authorized to call the service, the user account also needs the Management Console permission "REST Service Definitions API".
If the user is not a global administrator, only application packages belonging to the organizations assigned to the user will be accessible. For more information, see Security Managers Overview.
Example
The example Ant task below deletes an application package belonging to a client with client code "mycorp".
<app-delete clientCode="mycorp"
name="Home Loan"
url="https://form.mycorp.com/manager/"
username="[email protected]"
password="password"
proxyFile="./proxy.properties" />
Example Ant log output:
app-delete:
[app-delete] Request: DELETE https://form.mycorp.com/manager/secure/rest/application-package/v1/mycorp/myapp HTTP/1.1
[app-delete] Application Package Deleted: mycorp/myapp