Organizations
Members
Members endpoint reference.
List
List members of an organization.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
organizationId | string | Yes | Organization identifier. | |
params | array | No | [] | Array containing the necessary params, e.g. status, user.email. |
php
$response = $client->organizations()->members()->list('ORGANIZATION_ID', []);
Create
Add a member to an organization.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
organizationId | string | Yes | Organization identifier. | |
values | array | Yes | Values, requires member. |
php
$response = $client->organizations()->members()->create('ORGANIZATION_ID', []);
Batch Create
Add multiple members to an organization in a single request.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
organizationId | string | Yes | Organization identifier. | |
values | array | Yes | Values, requires members. |
php
$response = $client->organizations()->members()->batchCreate('ORGANIZATION_ID', []);
Get
Get information about a specific member of an organization.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
organizationId | string | Yes | Organization identifier. | |
memberId | string | Yes | Member identifier. |
php
$response = $client->organizations()->members()->get('ORGANIZATION_ID', 'MEMBER_ID');
Delete
Remove a member from an organization.
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
organizationId | string | Yes | Organization identifier. | |
memberId | string | Yes | Member identifier. |
php
$response = $client->organizations()->members()->delete('ORGANIZATION_ID', 'MEMBER_ID');

