def delete_project(self, name):
    """Delete a project on Azkaban.

    :param name: Project name.

    """
    self._logger.debug('Deleting project %s.', name)
    res = self._request(
      method='GET',
      endpoint='manager',
      params={
        'project': name,
        'delete': 'true',
      },
    )
    msg = "Project '%s' was successfully deleted" % (name, )
    if not msg in res.text:
      raise AzkabanError('Delete failed. Check permissions and existence.')
    return res
dataset/ETHPy150Open mtth/azkaban/azkaban/remote.py/Session.delete_project/original