diff --git a/src/Api/HostsApi.php b/src/Api/HostsApi.php index 854938c..6257192 100644 --- a/src/Api/HostsApi.php +++ b/src/Api/HostsApi.php @@ -91,7 +91,7 @@ public function update( ]; if ($addresses instanceof DnsHostAddressCollection) { - $payload['billables'] = $addresses->toArray(); + $payload['addresses'] = $addresses->toArray(); } $this->client->post(sprintf('v2/hosts/%s/update', $hostName), $payload);