Editing User Access Rules
    • PDF

    Editing User Access Rules

    • PDF

    Article summary

    Available in Classic and VPC

    Edit User AccessRules.

    Request

    • PUT /users/{userId}/access-rules

    Request path

    ParameterRequiredTypeRestrictionsDescription
    userIdYStringUser ID

    Request body

    {
        "consoleAccessAllowed": "boolean",
        "apiAccessAllowed": "boolean"
    }
    
    ParameterRequiredTypeDescriptionRestrictions
    consoleAccessAllowedYBooleanWhether to allow console access
    apiAccessAllowedYBooleanWhether to allow API access

    Response

    Response body

    {
      "id": "String",
      "nrn": "String",
      "success" : "boolean"
    }
    
    ParameterTypeDescriptionRestrictions
    idStringUser ID
    nrnStringEdited user nrn
    successBooleanSuccess status
    messageStringError message upon failure

    Error

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

    HTTP status codeError codeError message
    4009050The user doesn't exist
    400400Invalid request

    Was this article helpful?

    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.