diff --git a/src/Endpoints/Zones.php b/src/Endpoints/Zones.php index 323f202..f0e7777 100644 --- a/src/Endpoints/Zones.php +++ b/src/Endpoints/Zones.php @@ -174,7 +174,7 @@ class Zones implements API } if (!is_null($hosts)) { - $options['tags'] = $tags; + $options['hosts'] = $hosts; } $user = $this->adapter->delete('zones/' . $zoneID . '/purge_cache', $options);