Add Members¶
POST /api/v1/workspace/{workspace_uuid}/member/batch_add
Overview¶
Route Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| workspace_uuid | string | Y | Workspace UUID |
Body Request Parameters¶
| Parameter Name | Type | Required | Description |
|---|---|---|---|
| accountUUIDs | array | Y | Account list Example: ['acnt_xxxx32'] Can be empty: False |
| roleUUIDs | array | Y | User role UUID list Example: ['general', 'readOnly', 'role_xxxx32'] Can be empty: False |
Parameter Additional Explanation¶
- Request Parameter Description
| Parameter Name | Type | Description |
|---|---|---|
| accountUUIDs | array | Account UUIDs within the site |
| roleUUIDs | array | Role UUIDs for the workspace |
- roleUUIDs Description
| Role | Description |
|---|---|
| wsAdmin | Administrator role |
| general | Standard member role |
| readOnly | Read-only role |
| role_xxx | Custom role |