User 수정
    • PDF

    User 수정

    • PDF

    Article Summary

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

    User 정보를 수정합니다.

    요청

    • PUT /users/{userId}

    요청 Path

    파라미터필수 여부타입설명제약사항
    userIdYStringUser ID

    요청 Body

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

    응답

    응답 바디

    {
      "id": "String",
      "nrn": "String",
      "success" : "boolean"
    }
    
    파라미터타입설명
    idString유저 아이디
    nrnString수정된 유저 nrn
    successBoolean성공 여부
    messageString실패 시 오류 메시지

    에러

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

    HTTP status code에러 코드에러 메시지
    400400잘못된 요청
    4009050사용자가 존재하지 않음

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

    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.