Dear Ambari community, I am trying to delete a cluster in ambary, could not find any documentation so I tried using the rest api:
# curl -u xxxx:xxxx -H "X-Requested-By: ambari" -X DELETE http://xxx.xxx.xxx.xxx:8080/api/v1/clusters/Grandline { "status" : 404, "message" : "org.apache.ambari.server.controller.spi.NoSuchResourceException: The specified resource doesn't exist: Cluster not found, clusterId=2" } Any advice about how could I delete cluster in ambari? Thank you NOTICE Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution of viruses or similar in electronic communications. This notice should not be removed.
