function deleteGroup($name) { $endpoint = "https://api.hubapi.com/contacts/v2/groups/named/{$name}"; return $this->client->request('delete', $endpoint); }