--- title: "SSO User 일괄 생성" slug: "post-users" tags: ["Ncloud Single Sign-On"] updated: 2026-09-17T09:16:38Z published: 2026-09-17T09:16:38Z canonical: "api.ncloud-docs.com/post-users" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # SSO User 일괄 생성 Classic/VPC 환경에서 이용 가능합니다. 외부 계정 사용자 정보를 기반으로 1개 이상의 SSO User를 일괄 생성합니다. SSO User 생성에 사용한 외부 계정으로 네이버 클라우드 플랫폼에 로그인할 수 있습니다. 참고 SSO User는 최대 100개까지 생성할 수 있습니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | POST | /api/v1/users/bulk | ### 요청 헤더 Ncloud Single Sign-On API에서 공통으로 사용하는 헤더에 대한 정보는 [Ncloud Single Sign-On 요청 헤더](/docs/single-sign-on-overview#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 바디 요청 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `params` | Array | Required | [SSO User 정보](/docs/post-users#params) | #### `params` `params`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `loginId` | String | Required | SSO User 로그인 아이디 - 3~60자 - 이메일 형식 - 생성 후 변경 불가 | | `description` | String | Optional | SSO User 설명 - 0~300자 | | `userProfile` | Object | Optional | SSO User Profile 정보 | | `userProfile.firstName` | String | Optional | SSO User 이름 - 0~200자 | | `userProfile.lastName` | String | Optional | SSO User 성 - 0~200자 | | `userProfile.email` | String | Optional | SSO User 이메일 주소 - 0~200자 | | `userProfile.empNo` | String | Optional | SSO User 사원 번호 - 0~200자 | | `userProfile.phoneCountryCode` | String | Optional | SSO User 국가 번호 - 0~10자 - 국가 번호 형식 | | `userProfile.phoneNo` | String | Optional | SSO User 핸드폰 번호 - 0~200자 - 핸드폰 번호 형식 | | `userProfile.deptName` | String | Optional | SSO User 부서 이름 - 0~200자 | | `accessRules` | Object | Required | 접근 규칙 정보 | | `accessRules.consoleAccessAllowed` | Boolean | Required | 콘솔 접근 허용 여부 - `true` \| `false` - `true`: 허용 - `false`: 허용 안 함 | | `accessRules.apiAccessAllowed` | Boolean | Required | API Gateway 접근 허용 여부 - `true` \| `false` - `true`: 허용 - `false`: 허용 안 함 | | `tags` | Object | Optional | 정책의 태그 - 리소스당 최대 20개 - `{tagKey}:{tagValue}` 형식으로 입력 - tagKey: 영문자, 숫자, 특수 문자 '*', '.', '/', '=', '+', '-', '@'를 조합하여 128자 이내로 입력* - *tagValue: 영문자, 숫자, 특수 문자 '*', '.', '/', '=', '+', '-', '@'를 조합하여 256자 이내로 입력 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location POST 'https://sso.apigw.ntruss.com/api/v1/users/bulk' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' \ --data '{ "params": [ { "loginId": "******@ncloud.com", "description": "SSO User", "userProfile": { "firstName": "길동", "lastName": "홍", "email": "******@ncloud.com", "empNo": "0012341234", "phoneCountryCode": "82", "phoneNo": "010-0000-0000", "deptName": "부서1" }, "accessRules": { "consoleAccessAllowed": true, "apiAccessAllowed": true }, tags: { "tagKey1": "tagValue1", "team": "a" } }, { "loginId": "******@ncloud.com", "description": "SSO User", "userProfile": { "firstName": "철수", "lastName": "김", "email": "******@ncloud.com", "empNo": "00110011", "phoneCountryCode": "82", "phoneNo": "010-1100-0000", "deptName": "부서2" }, "accessRules": { "consoleAccessAllowed": true, "apiAccessAllowed": true }, tags: { "tagKey2: "tagValue2", "team": "b" } } ] }' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `id` | String | - | SSO User 아이디 | | `name` | String | - | SSO User 로그인 아이디 | | `nrn` | String | - | SSO User에 대한 네이버 클라우드 플랫폼 리소스 식별 값 | | `success` | Boolean | - | API 처리 결과 | ### 응답 상태 코드 Ncloud Single Sign-On API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [Ncloud Single Sign-On 응답 상태 코드](/docs/single-sign-on-overview#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` [ { "id": "6b0d0df7-****-****-****-1a11f29b5c34", "name": "******@ncloud.com", "nrn": "nrn:PUB:SSO::*******:User/6b0d0df7-****-****-****-1a11f29b5c34", "success": true }, { "id": "ba0def04-****-****-****-ff0b962016f7", "name": "******@ncloud.com", "nrn": "nrn:PUB:SSO::*******:User/ba0def04-****-****-****-ff0b962016f7", "success": true } ] ```