﻿---
title: Remove the add-on
description: To remove the add-on from MY_APP using the Heroku CLI: 
url: https://www.elastic.co/elastic/docs-builder/docs/3028/deploy-manage/deploy/elastic-cloud/heroku-getting-started-removing
products:
  - Elastic Cloud Hosted
applies_to:
  - Elastic Cloud Hosted: Generally available
---

# Remove the add-on
<warning>
  This action will destroy all associated data and cannot be undone.
</warning>

To remove the add-on from MY_APP using the Heroku CLI:
```bash
heroku addons:destroy foundelasticsearch --app MY_APP

 ▸    WARNING: Destructive Action
 ▸    This command will affect the app testing-heroku-es
 ▸    To proceed, type MY_APP or re-run this command with
 ▸    --confirm MY_APP

> MY_APP
Destroying foundelasticsearch-trapezoidal-nnnnn on ⬢ MY_APP... done
```