User 修正
    • PDF

    User 修正

    • PDF

    Article Summary

    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ユーザーの説明最大300byte
    userProfileNObjectUser profile
    userProfile.firstNameNString最大200byte
    userProfile.lastNameNString最大200byte
    userProfile.emailNStringメールアドレス最大200byte、email形式
    userProfile.empNoNString社員番号最大200byte
    userProfile.phoneCountryCodeNString携帯電話番号 国番号最大10byte、国番号形式のみ許可
    userProfile.phoneNoNString携帯電話番号最大200byte、携帯電話番号形式のみ許可
    userProfile.deptNameNString部署名最大200byte
    accessRulesYObjectアクセスルール
    accessRules.consoleAccessAllowedYBooleanコンソールへのアクセス許可の有無
    accessRules.apiAccessAllowedYBooleanAPIへのアクセス許可の有無

    レスポンス

    レスポンスボディ

    {
      "id": "String",
      "nrn": "String",
      "success" : "boolean"
    }
    
    パラメータタイプ説明
    idStringユーザー ID
    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.