removeAccessControlGroupInboundRule
    • PDF

    removeAccessControlGroupInboundRule

    • PDF

    Article summary

    Available in VPC

    Overview

    Deleting inbound rules from an ACG

    Requests

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Sets the region of the ACG from which inbound rules will be deleted
    regionCode can be obtained via the getRegionList action
    Default: Selects the first region of the getRegionList query results
    vpcNoYesString- VPC number
    Sets the VPC of the ACG from which inbound rules will be deleted
    vpcNo can be obtained via getVpcList action
    accessControlGroupNoYesString- ACG number
    accessControlGroupNo can be obtained via the getAccessControlGroupList action
    accessControlGroupRuleList.N.protocolTypeCodeYesString- Protocol type code of the ACG rule
    Protocol numbers 1–254 allowed
    Options : TCP | UDP | ICMP | 1-254
    accessControlGroupRuleList.N.ipBlockConditionalString- Access source IP address block of the ACG rule
    Access source can be registered as either an IP address block or an ACG number
    .e.g. 0.0.0.0/0, 100.10.20.0/24, 192.168.0.10/32
    accessControlGroupRuleList.N.accessControlGroupSequenceConditionalString- Access source ACG number of the ACG rule
    Access source can be registered as either an IP address block or an ACG number
    accessControlGroupNo can be obtained via the getAccessControlGroupList action
    accessControlGroupRuleList.N.portRangeConditionalString- Port range of the ACG rule
    Example 1: 22 for single port
    Example 2: Specify a range from 1 to 65535
    Do not enter a port range except when protocolTypeCode TCP is 6 and UDP is 17
    responseFormatTypeNoString- Format type of the response result
    Options : xml

    Responses

    Response bodies

    Examples

    Request examples

    GET {API_URL}/removeAccessControlGroupInboundRule
    ?regionCode=KR
    &vpcNo=***04
    &accessControlGroupNo=***63
    &accessControlGroupRuleList.1.protocolTypeCode=TCP
    &accessControlGroupRuleList.1.ipBlock=***.***.0.0/0
    &accessControlGroupRuleList.1.portRange=80
    

    Response examples

    Inbound rule list of the ACG after request execution

    <removeAccessControlGroupInboundRuleResponse>
      <requestId>4d82787f-c538-4a7b-a5e8-1351f7bdf592</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <accessControlGroupRuleList>
        <accessControlGroupRule>
          <accessControlGroupNo>***63</accessControlGroupNo>
          <protocolType>
            <code>TCP</code>
            <codeName>tcp</codeName>
            <number>6</number>
          </protocolType>
          <ipBlock>***.***.0.0/0</ipBlock>
          <accessControlGroupSequence></accessControlGroupSequence>
          <portRange>22</portRange>
          <accessControlGroupRuleType>
            <code>INBND</code>
            <codeName>Inbound</codeName>
          </accessControlGroupRuleType>
          <accessControlGroupRuleDescription></accessControlGroupRuleDescription>
        </accessControlGroupRule>
      </accessControlGroupRuleList>
    </removeAccessControlGroupInboundRuleResponse>
    

    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.