SevenShores\Hubspot\Resources\ContactProperties::deleteGroup PHP Метод

deleteGroup() публичный Метод

Delete an existing contact property group.
См. также: http://developers.hubspot.com/docs/methods/contacts/v2/delete_contact_property_group
public deleteGroup ( string $name ) : Response
$name string
Результат SevenShores\Hubspot\Http\Response
    function deleteGroup($name)
    {
        $endpoint = "https://api.hubapi.com/contacts/v2/groups/named/{$name}";
        return $this->client->request('delete', $endpoint);
    }