Client Reference
Memberships
Memberships endpoint reference.
List
List memberships of accounts the user can access.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
params | array | No | [] | Array containing the necessary params. |
php
$response = $client->memberships()->list([]);
Get
Get a specific membership.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
membershipId | string | Yes | Membership identifier tag. |
php
$response = $client->memberships()->get('MEMBERSHIP_ID');
Update
Accept or reject this account invitation.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
membershipId | string | Yes | Membership identifier tag. | |
status | string | Yes | Status of this membership, e.g. accepted, rejected. |
php
$response = $client->memberships()->update('MEMBERSHIP_ID', 'STATUS');
Delete
Remove the associated member from an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
membershipId | string | Yes | Membership identifier tag. |
php
$response = $client->memberships()->delete('MEMBERSHIP_ID');

