Role の修正
    • PDF

    Role の修正

    • PDF

    Article Summary

    Role情報を修正します。

    API

    • PUT /roles/{roleNo}

    リクエスト

    Path Variables

    パラメータ要否タイプ制約事項説明
    roleNoYStringRole No

    Body

    {
    	"descCont": "string",
    	"roleName": "string"
    	"roleType": "string",
    	"sessionExpirationSec": "integer",
    }
    
    パラメータ要否タイプ制約事項説明
    descContNstringRole description (max : 300bytes)
    roleNameNstringRole名
    roleTypeYstringRoleタイプ (available : Server, Account, Service)
    sessionExpirationSecNintegerroleTypeが Accountの場合は必須セッション有効期限(available: 600、1800、3600、10800)

    レスポンス

    • レスポンス
    パラメータ名要否タイプ説明
    ProcessResultYProcessResult処理結果
    • レスポンス例 - 成功
    {
      "success": true
    }
    

    エラー

    以下のエラーコードは、このアクション(Action)で発生する特徴的なエラーです。エラーレスポンス形式は ErrorResponseをご参照ください。
    よく発生するエラーについての詳細は、NAVER Cloud Platform APIをご参照ください。

    HTTP status codeエラーコードエラーメッセージ
    40130正しくない roleNo
    400400ロール名は 2~30字の範囲内で入力
    400400ロールタイプを指定
    400400ロールタイプが間違っている
    4009002ロールタイプが Serverの場合、未使用セッション有効期限は許可されない
    4009002セッション有効期間 [600、1800、3600、10800] 秒のみ設定できる
    4009010文字、数字、"._-"の特殊文字のみ許可し、文頭は文字で開始すること

    この記事は役に立ちましたか?

    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.