Skip to content

GroupsResource

André Matthies edited this page Feb 6, 2025 · 1 revision

GroupsResource

Methods

delete

public delete(int $id, bool $deleteContacts = false): \Seven\Api\Resource\Groups\GroupDelete

Parameters:

Parameter Type Description
$id int
$deleteContacts bool

Throws:


create

public create(string $name): \Seven\Api\Resource\Groups\Group

Parameters:

Parameter Type Description
$name string

Throws:


update

public update(int $id, string $name): \Seven\Api\Resource\Groups\Group

Parameters:

Parameter Type Description
$id int
$name string

Throws:


list

public list(\Seven\Api\Resource\Groups\ListParams $params = new ListParams()): \Seven\Api\Resource\Groups\ListGroups

Parameters:

Parameter Type Description
$params \Seven\Api\Resource\Groups\ListParams

Throws:


get

public get(int $id): \Seven\Api\Resource\Groups\Group

Parameters:

Parameter Type Description
$id int

Throws:


Inherited methods

__construct

public __construct(\Seven\Api\Client $client): mixed

Parameters:

Parameter Type Description
$client \Seven\Api\Client


Automatically generated on 2025-02-06

Clone this wiki locally