Creating users in batch
    • PDF

    Creating users in batch

    • PDF

    Article summary

    You can create multiple users in batch.

    Requests

    • POST /users/bulk

    Request bodies

    {
      "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"
          }
        }
      ]
    }
    
    ParametersRequirement statusTypeDescriptionRestrictions
    params.[].loginIdYStringLogin IDemail format
    params.[].descriptionNStringUser descriptionUp to 300 bytes
    params.[].userProfileNObjectUser profile
    params.[].userProfile.firstNameNStringFirst nameUp to 200 bytes
    params.[].userProfile.lastNameNStringLast nameUp to 200 bytes
    params.[].userProfile.emailNStringEmailUp to 200 bytes, email format only
    params.[].userProfile.empNoNStringEmployee numberUp to 200 bytes
    params.[].userProfile.phoneCountryCodeNStringCountry code for mobile phone numberUp to 10 bytes, country code format only
    params.[].userProfile.phoneNoNStringMobile phone numberUp to 200 bytes, mobile phone number format only
    params.[].userProfile.deptNameNStringDepartment nameUp to 200 bytes
    params.[].accessRulesYObjectAccess rules
    params.[].accessRules.consoleAccessAllowedYBooleanWhether console access is allowed
    params.[].accessRules.apiAccessAllowedYBooleanWhether API access is allowed
    • Up to 100 users can be created.

    Responses

    Response bodies

    [{
      "id": "String",
      "nrn": "String",
      "name": "String",
      "success" : "boolean"
    }]
    
    ParametersTypeDescriptionRestrictions
    [].idStringID of the created user
    [].nrnStringnrn of the created user
    [].nameStringLogin ID of the created user
    [].successBooleanWhether it is a success
    [].messageStringFailure error message

    Errors

    Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
    For more information on common errors, see NAVER Cloud Platform API.

    HTTP status codeError codeError message
    400400Invalid request.

    Was this article helpful?

    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.