Accounts
Members
Members endpoint reference.
List
List all members of an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. | |
params | array | No | [] | Array containing the necessary params. |
php
$response = $client->accounts()->members()->list('ACCOUNT_ID', []);
Add
Add a user to the list of members for this account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. | |
values | array | Yes | Values to set on Member. |
php
$response = $client->accounts()->members()->add('ACCOUNT_ID', []);
Delete
Remove a member from an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. | |
memberId | string | Yes | Member identifier. |
php
$response = $client->accounts()->members()->delete('ACCOUNT_ID', 'MEMBER_ID');
Get
Get information about a specific member of an account.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. | |
memberId | string | Yes | Member identifier. |
php
$response = $client->accounts()->members()->get('ACCOUNT_ID', 'MEMBER_ID');
Update Roles
Modify an account member roles.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. | |
memberId | string | Yes | Member identifier. | |
roles | array | Yes | Role identifiers. |
php
$response = $client->accounts()->members()->updateRoles('ACCOUNT_ID', 'MEMBER_ID', []);
Update Policies
Modify an account member policies.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
accountId | string | Yes | Account identifier. | |
memberId | string | Yes | Member identifier. | |
policies | array | Yes | Policies associated with this member. |
php
$response = $client->accounts()->members()->updatePolicies('ACCOUNT_ID', 'MEMBER_ID', []);

