'Delete endpoint.'

def delete_endpoint(self, endpoint_id):

    (resp_header, resp_body) = self.delete(('endpoints/%s' % endpoint_id))
    self.expected_success(204, resp_header.status)
    return rest_client.ResponseBody(resp_header, resp_body)
