code: def delete_project(project_id,**kwargs):
      
      user_id = kwargs.get('user_id')
      #check_perm(user_id, 'delete_project')
      project = _get_project(project_id)
      project.check_write_permission(user_id)
      db.DBSession.delete(project)
      db.DBSession.flush()
  
      return 'OK'
docs: Set the status of a project to 'X'