deleteAccessControlGroup

Prev Next

Can be used in a VPC environment.

Overview

This deletes an ACG.

Request

Request parameters

Parameter name Required Type Restrictions Description
regionCode No String Region code
You can decide the region of the ACG to be deleted.
regionCode can be obtained through the getRegionList action.
Default: Select the first region of the getRegionList search results
vpcNo Yes String VPC number
This determines the VPC of ACG to be deleted.
vpcNo can be obtained through the getVpcList action.
accessControlGroupNo Yes String The number of the ACG to be deleted
accessControlGroupNo can be obtained through the getAccessControlGroupList action.
responseFormatType No String Format type of the response results
Options : xml | json
Default : xml

Response

Response body

Example

Request Example

GET {API_URL}/deleteAccessControlGroup
?regionCode=KR
&vpcNo=***04
&accessControlGroupNo=***63

Response Example

<deleteAccessControlGroupResponse>
  <requestId>e7b41cdc-0168-4d2b-8efd-0f94f1680cd5</requestId>
  <returnCode>0</returnCode>
  <returnMessage>success</returnMessage>
  <totalRows>1</totalRows>
  <accessControlGroupList>
    <accessControlGroup>
      <accessControlGroupNo>***63</accessControlGroupNo>
      <accessControlGroupName>test-***</accessControlGroupName>
      <isDefault>false</isDefault>
      <vpcNo>***04</vpcNo>
      <accessControlGroupStatus>
        <code>TERMT</code>
        <codeName>terminate</codeName>
      </accessControlGroupStatus>
      <accessControlGroupDescription></accessControlGroupDescription>
    </accessControlGroup>
  </accessControlGroupList>
</deleteAccessControlGroupResponse>