POST/groups/{groupId}/members
グループにメンバーを追加する
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
directory
group
| Parameter | Type | Description |
|---|---|---|
| groupId | string | グループを特定する ID (URL エンコードする)
required |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| id | string | グループメンバーのユーザー/組織/グループの ID (URL エンコードする)
required |
| type | string | グループメンバータイプ
required Allowed values : USER, ORGUNIT, GROUP |
user example
1{2 "id": "userf7da-f82c-4284-13e7-030f3b4c756x",3 "type": "USER"4}orgunit example
1{2 "id": "orgunitf-f27f-4af8-27e1-03817a911417",3 "type": "ORGUNIT"4}group example
1{2 "id": "group769-e656-477d-69c7-04e2f73a4a77",3 "type": "GROUP"4}Created
Bad Request
Forbidden
Not Found
Conflict