MENU
      Adding IP ACL to assignment
        • PDF

        Adding IP ACL to assignment

        • PDF

        Article summary

        Available in Classic and VPC

        Add IP ACL to an assignment.

        Requests

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

        Request path

        ParameterRequiredTypeDescriptionRestrictions
        assignmentIdYStringAssignment ID

        Request bodies

        {
          "consoleAccessAllowed": "Boolean",
          "consoleAccessRestricted": "Boolean",
          "consoleAccessIpAclIds": ["String", "String"],
          "apiAccessAllowed": "Boolean",
          "apiAccessRestricted": "Boolean",
          "apiAccessIpAclIds": ["String", "String"]
        }
        JSON
        ParameterRequiredTypeDescriptionRestrictions
        consoleAccessAllowedYBooleanAllow or deny console access
        consoleAccessRestrictedNBooleanRestrict console access
        consoleAccessIpAclIdsNArrayList of IP ACL IDs forbidden to access the console
        apiAccessAllowedYBooleanAllow or deny API access
        apiAccessRestrictedNBooleanRestrict API access
        apiAccessIpAclIdsNArrayList of IP ACL IDs forbidden to access the API

        Responses

        Response bodies

        {
          "id": "String",
          "success" : "Boolean",
          "nrn": "String",
          "message": "String"
        }
        JSON
        ParameterTypeDescription
        idStringAssignment ID
        nrnStringnrn of the edited assignment
        successBooleanSuccess status
        messageStringError message when failed

        Errors

        Errors that may occur while using this action are listed below. For the 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 does not exist
        4009102Assignment - IP ACL mapping already exists
        4009104Assignment - IP ACL mapping does not exist
        4009080Assignment does not exist

        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.