Show TOC

Deleting Hybrid App Details Using the REST APILocate this document in the navigation structure

Delete a hybrid app using the delete application REST API.

Note You can delete a hybrid app from a specific platform or from all platforms
Syntax

To delete from all platforms, perform a DELETE request to the following URI:

https://<host>:<admin_port>/Admin/kapsel/jaxrs/KapselApp/{APP_ID}
To delete from a specific platform, perform a DELETE request to the following URI:
https://<host>:<admin_port>/Admin/kapsel/jaxrs/KapselApp/{APP_ID}/{PLATFORM}

Include the user name and password in the request to provide authentication for the URI.

Parameters
None.
Returns

On successful deletion, the client receives a 200 status code. Otherwise, an HTTP failure code and failure message are returned.

Examples
Note This example uses the curl command line client and the --cacert flag. Your client may require you to pass other arguments or set specific configuration options.
  • Delete application from all platforms
    curl --user <user>:<password> --cacert <your-server.pem> --X DELETE -i https://localhost:8083/Admin/kapsel/jaxrs/KapselApp/MyTestAppId