Skip to main content
🚀 Self Healing AI Agent now live in App Automate! Auto-fix flaky tests instantly with zero code changes. Enable now!
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Delete uploaded apps

Learn how to delete uploaded apps using REST API and App Management UI on BrowserStack App Automate using Appium

BrowserStack deletes uploaded apps 30 days after their last use. If an app remains idle, it is deleted 30 days after the upload date. You can also use our REST API to explicitly delete an app before that, by any of the following ways:

  • You can only delete apps that you uploaded.
  • You do not have the option to recover or restore an app once it has been deleted from our servers.

Here is the API request that uses the uploaded app’s app_id to delete it:

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" \
-X DELETE "https://api-cloud.browserstack.com/app-automate/app/delete/<APP_ID>"

When you upload an app, the response returns the app URL in the format "app_url": "bs://<APP_ID>". The app ID is the hash after bs://. For example, if the app_url is bs://c8ddcb5649a8280ca800075bfd8f151115bba6b3, the app ID is c8ddcb5649a8280ca800075bfd8f151115bba6b3. Pass only the app ID in the request URL. If you include the bs:// prefix, the request returns a 404 error.

If the app_id is correct, BrowserStack deletes the uploaded app and returns the following response:

{"success":true}

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle