Editing user
    • PDF

    Editing user

    • PDF

    Article summary

    You can edit user information.

    Requests

    • PUT /users/{userId}

    Request path

    ParametersRequirement statusTypeDescriptionRestrictions
    userIdYStringUser ID

    Request bodies

    {
      "description": "string",
      "userProfile": {
        "firstName": "string",
        "lastName": "string",
        "email": "string",
        "empNo": "string",
        "phoneCountryCode": "string",
        "phoneNo": "string",
        "deptName": "string"
      },
      "accessRules": {
        "consoleAccessAllowed": "boolean",
        "apiAccessAllowed": "boolean"
      }
    }
    
    ParametersRequirement statusTypeDescriptionRestrictions
    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

    {
      "id": "String",
      "nrn": "String",
      "success" : "boolean"
    }
    
    ParametersTypeDescription
    idStringUser ID
    nrnStringnrn of the edited 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.
    4009050The user does not exist.

    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.