changed rest endpoint to reflect cleanup task changes