'Destroy a stack by ID
http://docs.rancher.com/rancher/v1.2/en/api/api-resources/environment/#delete
:param env_id: The stack to be destroyed.
:type env_id: ``str``
:return: True if destroy was successful, False otherwise.
:rtype: ``bool``'

def ex_destroy_stack(self, env_id):

    result = self.connection.request(('%s/environments/%s' % (self.baseuri, env_id)), method='DELETE')
    return (result.status in VALID_RESPONSE_CODES)
