{"_id":"5a8fae0368264c001f20cc1b","category":{"_id":"5a8fae0368264c001f20cc06","version":"5a8fae0268264c001f20cc00","project":"5633ebff7e9e880d00af1a53","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-12-23T19:13:48.702Z","from_sync":false,"order":1,"slug":"quickstart-guides","title":"Bonsai Heroku Basics"},"user":"5633ec9b35355017003ca3f2","project":"5633ebff7e9e880d00af1a53","parentDoc":null,"version":{"_id":"5a8fae0268264c001f20cc00","project":"5633ebff7e9e880d00af1a53","__v":4,"createdAt":"2018-02-23T06:00:34.961Z","releaseDate":"2018-02-23T06:00:34.961Z","categories":["5a8fae0268264c001f20cc01","5a8fae0268264c001f20cc02","5a8fae0368264c001f20cc03","5a8fae0368264c001f20cc04","5a8fae0368264c001f20cc05","5a8fae0368264c001f20cc06","5a8fae0368264c001f20cc07","5a8fae0368264c001f20cc08","5a8fae0368264c001f20cc09","5abaa7eb72d6dc0028a07bf3","5b8ee7842790f8000333f9ba","5b8ee8f244a21a00034b5cd9"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"2.0.0","version":"2.0"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2015-12-30T17:37:19.036Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":3,"body":"[block:callout]\n{\n  \"type\": \"warning\",\n  \"body\": \"Bonsai clusters can be provisioned in a couple of different ways. These instructions are for Heroku users. If you have an account on Bonsai.io or via Manifold, then you will not need these instructions. Instead, check out:\\n\\n* [Getting Started With Bonsai.io](doc:getting-started-with-bonsaiio) \\n* [Getting Started With Manifold](doc:getting-started-with-manifold)\",\n  \"title\": \"Hold up!\"\n}\n[/block]\nBonsai Elasticsearch can be removed via the command line or Heroku's app Dashboard.\n[block:callout]\n{\n  \"type\": \"danger\",\n  \"body\": \"This will destroy all associated data and cannot be undone!\",\n  \"title\": \"Danger!\"\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"Using the Command Line\"\n}\n[/block]\nThe Bonsai Add-on can be removed from the application via Heroku's command line tool:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \" heroku addons:destroy bonsai\\n-----> Removing bonsai from sharp-mountain-4005... done, v20 (free)\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nThis will destroy the cluster and all of its data instantly.\n[block:api-header]\n{\n  \"title\": \"Using the Heroku Dashboard\"\n}\n[/block]\nTo remove the Bonsai Add-on from the Heroku Dashboard, log in to your Heroku account and click on the app the Add-on is attached to. In this example, that Add-on is `mycoolelasticsearchapp`:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/dc6c3c9-heroku-dashboard-1.png\",\n        \"heroku-dashboard-1.png\",\n        2436,\n        762,\n        \"#f0f7f9\"\n      ]\n    }\n  ]\n}\n[/block]\nNext, click on the Resources tab:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/b601641-heroku-dashboard-2.png\",\n        \"heroku-dashboard-2.png\",\n        1292,\n        1248,\n        \"#eaf1f3\"\n      ]\n    }\n  ]\n}\n[/block]\nFind the Bonsai Add-on in the list of application Add-ons, then click the carot menu:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/04b8e9b-heroku-remove-addon-1.png\",\n        \"heroku-remove-addon-1.png\",\n        2478,\n        962,\n        \"#ecf3f5\"\n      ]\n    }\n  ]\n}\n[/block]\nSelect \"Remove\" from the list of options:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/0788516-heroku-remove-addon-2.png\",\n        \"heroku-remove-addon-2.png\",\n        2438,\n        584,\n        \"#e9ebf0\"\n      ]\n    }\n  ]\n}\n[/block]\nYou will need to type in the app's name to confirm the removal of the Bonsai Add-on:\n[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/7a8f63f-heroku-remove-addon-3.png\",\n        \"heroku-remove-addon-3.png\",\n        1348,\n        568,\n        \"#9097a9\"\n      ]\n    }\n  ]\n}\n[/block]\nClick on \"Remove Add-on\" to complete the process.","excerpt":"How to remove your Bonsai addon from your Heroku application.","slug":"removing-the-add-on","type":"basic","title":"Removing the Add-on"}

Removing the Add-on

How to remove your Bonsai addon from your Heroku application.

[block:callout] { "type": "warning", "body": "Bonsai clusters can be provisioned in a couple of different ways. These instructions are for Heroku users. If you have an account on Bonsai.io or via Manifold, then you will not need these instructions. Instead, check out:\n\n* [Getting Started With Bonsai.io](doc:getting-started-with-bonsaiio) \n* [Getting Started With Manifold](doc:getting-started-with-manifold)", "title": "Hold up!" } [/block] Bonsai Elasticsearch can be removed via the command line or Heroku's app Dashboard. [block:callout] { "type": "danger", "body": "This will destroy all associated data and cannot be undone!", "title": "Danger!" } [/block] [block:api-header] { "title": "Using the Command Line" } [/block] The Bonsai Add-on can be removed from the application via Heroku's command line tool: [block:code] { "codes": [ { "code": " heroku addons:destroy bonsai\n-----> Removing bonsai from sharp-mountain-4005... done, v20 (free)", "language": "shell" } ] } [/block] This will destroy the cluster and all of its data instantly. [block:api-header] { "title": "Using the Heroku Dashboard" } [/block] To remove the Bonsai Add-on from the Heroku Dashboard, log in to your Heroku account and click on the app the Add-on is attached to. In this example, that Add-on is `mycoolelasticsearchapp`: [block:image] { "images": [ { "image": [ "https://files.readme.io/dc6c3c9-heroku-dashboard-1.png", "heroku-dashboard-1.png", 2436, 762, "#f0f7f9" ] } ] } [/block] Next, click on the Resources tab: [block:image] { "images": [ { "image": [ "https://files.readme.io/b601641-heroku-dashboard-2.png", "heroku-dashboard-2.png", 1292, 1248, "#eaf1f3" ] } ] } [/block] Find the Bonsai Add-on in the list of application Add-ons, then click the carot menu: [block:image] { "images": [ { "image": [ "https://files.readme.io/04b8e9b-heroku-remove-addon-1.png", "heroku-remove-addon-1.png", 2478, 962, "#ecf3f5" ] } ] } [/block] Select "Remove" from the list of options: [block:image] { "images": [ { "image": [ "https://files.readme.io/0788516-heroku-remove-addon-2.png", "heroku-remove-addon-2.png", 2438, 584, "#e9ebf0" ] } ] } [/block] You will need to type in the app's name to confirm the removal of the Bonsai Add-on: [block:image] { "images": [ { "image": [ "https://files.readme.io/7a8f63f-heroku-remove-addon-3.png", "heroku-remove-addon-3.png", 1348, 568, "#9097a9" ] } ] } [/block] Click on "Remove Add-on" to complete the process.