added API key option for deletes (local.php)