User 대량 생성
    • PDF

    User 대량 생성

    • PDF

    Article Summary

    Classic/VPC 환경에서 이용 가능합니다.

    User를 대량으로 생성합니다.

    요청

    • POST /users/bulk

    요청 Body

    {
      "params": [
        {
          "loginId": "string",
          "description": "string",
          "userProfile": {
            "firstName": "string",
            "lastName": "string",
            "email": "string",
            "empNo": "string",
            "phoneCountryCode": "string",
            "phoneNo": "string",
            "deptName": "string"
          },
          "accessRules": {
            "consoleAccessAllowed": "boolean",
            "apiAccessAllowed": "boolean"
          }
        }
      ]
    }
    
    파라미터필수 여부타입설명제약사항
    params.[].loginIdYString로그인 아이디email 형식
    params.[].descriptionNString유저 설명최대 300 bytes
    params.[].userProfileNObjectUser profile
    params.[].userProfile.firstNameNString이름최대 200 bytes
    params.[].userProfile.lastNameNString최대 200 bytes
    params.[].userProfile.emailNString이메일최대 200 bytes, email 형식
    params.[].userProfile.empNoNString사원 번호최대 200 bytes
    params.[].userProfile.phoneCountryCodeNString핸드폰 번호 국가 번호최대 10 bytes, 국가 번호 형식만 허용
    params.[].userProfile.phoneNoNString핸드폰 번호최대 200 bytes, 핸드폰 번호 형식만 허용
    params.[].userProfile.deptNameNString부서명최대 200 bytes
    params.[].accessRulesYObject접근 규칙
    params.[].accessRules.consoleAccessAllowedYBoolean콘솔 접근 허용 여부
    params.[].accessRules.apiAccessAllowedYBooleanAPI 접근 허용 여부
    • 최대 생성 개수는 100개입니다

    응답

    응답 바디

    [{
      "id": "String",
      "nrn": "String",
      "name": "String",
      "success" : "boolean"
    }]
    
    파라미터타입설명제약사항
    [].idString생성된 유저 아이디
    [].nrnString생성된 유저 nrn
    [].nameString생성된 유저 로그인 아이디
    [].successBoolean성공 여부
    [].messageString실패 시 오류 메시지

    에러

    아래 에러 코드는 이 액션(Action)에서 특징적으로 발생하는 에러입니다. 에러 응답 형식은 Error Response를 참고해 주십시오.
    공통적으로 발생하는 에러에 대한 상세한 설명은 NAVER Cloud Platform API를 참조해 주십시오.

    HTTP status code에러 코드에러 메시지
    400400잘못된 요청

    이 문서가 도움이 되었습니까?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.