POST/users/{userId}/move
ユーザーを同テナント内の異なるドメインに移動し、ユーザーの ExternalKey、email、組織情報を一括で変更します。
転換時に引き継がれる情報については以下の通りです。
トークの引き継ぎ
グループの引き継ぎ
組織の引き継ぎ
外部トーク連携の引き継ぎ
監査ログの引き継ぎ
その他ユーザーデータの引き継ぎ
制限
注意
- ユーザーの登録/更新/部分更新/配置転換 API は、同じユーザーに対しては同時に呼び出してはならず、順番通りに呼び出すことを推奨します。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
user
directory
| Parameter | Type | Description |
|---|---|---|
| userId | string | ユーザーを特定する ID (URL エンコードする)
required example : userf7da-f82c-4284-13e7-030f3b4c756x |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| organizations | array (UserOrganization) | 組織情報 minItems : 1 |
| userExternalKey | string | 顧客企業で管理するユーザーの ExternalKey
maxLength : 100 nullable : true |
| preserveGroup | boolean | 参加グループの維持の可否 (既定値: false) この値が false の場合、ユーザーが所属していたグループは配置転換後に維持されない。したがって、ユーザーは利用中のトークルームから退室し、それまでのトーク内容を確認できなくなる。 配置転換後も参加グループを維持するには、この値を true に設定する。 default : false |
| Property | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID required format : int32 |
| primary | boolean | 代表ドメインフラグ required |
| userExternalKey | string | 顧客企業で管理するユーザーの ExternalKey
maxLength : 100 nullable : true |
| string | メールアドレス maxLength : 90 | |
| levelId | string | 職級 ID
nullable : true |
| orgUnits | array (orgUnit) | 組織リスト minItems : 0 maxItems : 30 |
| Property | Type | Description |
|---|---|---|
| orgUnitId | string | 組織 ID
required |
| primary | boolean | 代表組織フラグ required |
| positionId | string | 役職 ID
nullable : true |
| isManager | boolean | 組織長フラグ (既定値: false) default : false |
| visible | boolean | ユーザー公開フラグ (既定値: true) default : true |
| useTeamFeature | boolean | 組織のトークルーム機能の利用フラグ (既定値: true)
default : true |
example
1{2 "organizations": [3 {4 "domainId": 10000001,5 "primary": true,6 "email": "localpart@example.com",7 "levelId": "levelaa7-b824-4937-66af-042f1f43cefa",8 "orgUnits": [9 {10 "orgUnitId": "orgunitf-f27f-4af8-27e1-03817a911417",11 "primary": true,12 "positionId": "position-7027-4a02-b838-6f52b5e38db7",13 "isManager": true,14 "visible": true,15 "useTeamFeature": true16 }17 ]18 }19 ],20 "userExternalKey": null,21 "preserveGroup": false22}No Content
Bad Request
Not Found