MENU
      Add assignment to IP ACL

        Add assignment to IP ACL


        Article summary

        Available in Classic and VPC

        Add an assignment to an IP ACL.

        Request

        • POST /ip-acls/{ipAclId}/assignments

        Request path

        ParameterRequiredTypeDescriptionRestrictions
        ipAclIdYStringIP ACL ID

        Request body

        {
            "consoleAccessAssignmentIds": ["string"],
            "apiAccessAssignmentIds": ["string"]
        }
        JSON
        ParameterRequiredTypeDescriptionRestrictions
        consoleAccessAssignmentIdsNArrayList of assignment IDs restricted from console access
        apiAccessAssignmentIdsNArrayList of assignment IDs restricted from API access

        Response

        Response body

        {
          "id": "String",
          "nrn": "String",
          "success" : "boolean",
          "message": "String"
        }
        JSON
        ParameterTypeDescription
        idStringIP ACL ID
        nrnStringCreated IP ACL nrn
        successBooleanSuccess status
        messageStringError message upon failure

        Error

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

        HTTP status codeError codeError message
        400400Invalid request
        4009100IP ACL that doesn't exist
        4009101IP ACL target can't be empty
        4009102Assignment - IP ACL mapping already exists
        4009080Assignment that doesn't exist
        4009106Assignment with incorrect access control settings

        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.