Source: https://docs.luxid.lu/en/api/edit-group-memberships/
API version: 1.9
OpenAPI specification: https://docs.luxid.lu/luxid-partner-api.yaml
Add/Remove accounts into/from groups
POST/bulk-actions/group-memberships
Add/Remove accounts into/from groups
Request
Request body
Content type: application/json
The request body is required.
| Property | Type | Required | Description |
|---|---|---|---|
actions | array of object | No | List of actions to perform on group memberships. The parter must be manager of the target group(s). List must not contain duplicate (account, group) pair. List is limited to 20 actions max. |
actions[].action | string (ADD, REMOVE) | Yes | |
actions[].accountEmail | string | Yes | |
actions[].groupName | string | Yes |
Responses
- 200
- 400
Success
Functional error
Response schemas
200 - Success
Content type: application/json
| Property | Type | Required | Description |
|---|---|---|---|
actions | array of object | No | List of actions to perform on group memberships |
actions[].action | string (ADD, REMOVE) | Yes | |
actions[].accountEmail | string | Yes | |
actions[].groupName | string | Yes | |
actions[].result | string (ACCOUNT_NOT_FOUND, GROUP_NOT_FOUND, GROUP_FORBIDDEN, ACCOUNT_ADDED_TO_GROUP, ACCOUNT_REMOVED_FROM_GROUP, ACCOUNT_ALREADY_IN_GROUP, ACCOUNT_ALREADY_NOT_IN_GROUP) | Yes | Result of the action |
400 - Functional error
Content type: application/json
| Property | Type | Required | Description |
|---|---|---|---|
message | string | No | |
type | string | No |