Creating user
    • PDF

    Creating user

    • PDF

    Article summary

    You can create a user.

    Requests

    • POST /users

    Request bodies

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

    Responses

    Response bodies

    {
      "userId" : "string",
      "loginId" : "string",
      "nrn" : "string",
      "userProfile" : {
        "firstName" : "string",
        "lastName" : "string",
        "email" : "string",
        "emailVerified" : "boolean",
        "empNo" : "string",
        "phoneCountryCode" : "string",
        "phoneNo" : "string",
        "phoneNoVerified" : "boolean",
        "deptName" : "string"
      },
      "accessRules" : {
        "consoleAccessAllowed" : "boolean",
        "apiAccessAllowed" : "boolean"
      },
      "status" : "string",
      "description" : "string",
      "lastLoginAt" : "string",
      "createdAt" : "string",
      "updatedAt" : "string"
    }
    
    ParametersTypeDescription
    userIdStringUser ID
    loginIdStringLogin ID (email)
    nrnStringnrn of the created user
    userProfileObjectUser profile
    userProfile.firstNameStringFirst name
    userProfile.lastNameStringLast name
    userProfile.emailStringEmail
    userProfile.emailVerifiedBooleanEmail verification status
    userProfile.empNoStringEmployee number
    userProfile.phoneCountryCodeStringCountry code for mobile phone number
    userProfile.phoneNoStringMobile phone number
    userProfile.phoneNoVerifiedBooleanMobile phone number verification status
    userProfile.deptNameStringDepartment name
    accessRulesObjectAccess rules
    accessRules.consoleAccessAllowedBooleanWhether console access is allowed
    accessRules.apiAccessAllowedBooleanWhether API access is allowed
    statusStringUser status (active, suspended, deleted)
    lastLoginAtStringLast login time (UTC, e.g., 2023-04-25T131150Z)
    createdAtStringCreation time (UTC, e.g., 2023-04-25T131150Z)
    updatedAtStringEdit time (UTC, e.g., 2023-04-25T131150Z)
    descriptionStringUser description

    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?

    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.