PUT/directory/user-types/{userTypeId}/orgunit-access-restrict
사용자 유형의 조직 조회 제한 설정을 수정한다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.
directory
| Parameter | Type | Description |
|---|---|---|
| userTypeId | string | 사용자 유형 ID required example : employ2c-f321-47a6-ac11-e81fcc23a8c3 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| accessRestrictType | string | 조회 제한 타입
required Allowed values : ONLY_ME, ONLY_MY_ORGUNIT, ONLY_MY_AND_SPECIFIED_ORGUNIT |
| specifiedOrgUnits | array (orgUnit) | 조회 제한 타입이 ONLY_MY_AND_SPECIFIED_ORGUNIT일 때 조회 가능한 특정 조직 목록 minItems : 0 maxItems : 200 |
| Property | Type | Description |
|---|---|---|
| orgUnitId | string | 조직 ID 수정할 때 고객사에서 관리하는 externalKey를 사용하려면 required |
| includeSubOrgUnits | boolean | 특정 조직의 하위 조직까지 조회할 수 있게 할지 여부 default : false |
example
1{2 "accessRestrictType": "ONLY_MY_AND_SPECIFIED_ORGUNIT",3 "specifiedOrgUnits": [4 {5 "orgUnitId": "orgunitf-f27f-4af8-27e1-03817a911417",6 "includeSubOrgUnits": true7 }8 ]9}OK
| Property | Type | Description |
|---|---|---|
| accessRestrictType | string | 조회 제한 타입
required Allowed values : ONLY_ME, ONLY_MY_ORGUNIT, ONLY_MY_AND_SPECIFIED_ORGUNIT |
| specifiedOrgUnits | array (orgUnit) | 조회 제한 타입이 ONLY_MY_AND_SPECIFIED_ORGUNIT일 때 조회 가능한 특정 조직 목록 minItems : 0 maxItems : 200 |
| Property | Type | Description |
|---|---|---|
| orgUnitId | string | 조직 ID 수정할 때 고객사에서 관리하는 externalKey를 사용하려면 required |
| includeSubOrgUnits | boolean | 특정 조직의 하위 조직까지 조회할 수 있게 할지 여부 default : false |
| orgUnitExternalKey | string | 고객사에서 관리하는 외부 키 readOnly : true |
example
1{2 "accessRestrictType": "ONLY_MY_AND_SPECIFIED_ORGUNIT",3 "specifiedOrgUnits": [4 {5 "orgUnitId": "orgunitf-f27f-4af8-27e1-03817a911417",6 "includeSubOrgUnits": false,7 "orgUnitExternalKey": "ORGUNIT_EXT_01"8 }9 ]10}Bad Request
Not Found