Modify Role
    • PDF

    Modify Role

    • PDF

    Article summary

    Modify role information.

    API

    • PUT /roles/{roleNo}

    Requests

    Path variables

    ParametersRequirement statusTypeRestrictionsDescription
    roleNoYStringRole No

    Body

    {
    	"descCont": "string",
    	"roleName": "string"
    	"roleType": "string",
    	"sessionExpirationSec": "integer",
    }
    
    ParametersRequirement statusTypeRestrictionsDescription
    descContNstringRole description (max : 300bytes)
    roleNameNstringRole name
    roleTypeYstringRole type (available : Server, Account, Service)
    sessionExpirationSecNintegerRequired when roleType is AccountSession expiration time (available: 600, 1800, 3600,10800)

    Response

    • Response
    Parameter nameRequirement statusTypeDescription
    ProcessResultYProcessResultProcessing result
    • Response examples - Success
    {
      "success": true
    }
    

    Errors

    Errors that may occur while using this action are listed below. For error response format, see ErrorResponse.
    For more information about common errors, see the NAVER Cloud Platform API.

    HTTP status codeError codeError message
    40130Wrong roleNo
    400400Enter the role name between 2 and 30 characters long.
    400400Specify role type
    400400The role type is wrong
    4009002When the role type is Server, the unused session expiration time is not allowed.
    4009002For session expiration time, only [600, 1800, 3600,10,800] seconds can be specified.
    4009010Only characters, numbers, and "-" are allowed, and it must start with a character.

    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.