'Delete an endpoint.'

def delete_endpoint(self, endpoint_id):

    url = ('/endpoints/%s' % endpoint_id)
    (resp, body) = self.delete(url)
    self.expected_success(204, resp.status)
    return rest_client.ResponseBody(resp, body)
