check for apikey before delete