setNetworkAclDescription
- Print
- PDF
setNetworkAclDescription
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Available in VPC
Edit the description of a network ACL by specifying the network ACL number.Request
The following describes the request format for the endpoint. The request format is as follows:
Method | URI |
---|---|
GET, POST | /setNetworkAclDescription |
Request headers
For headers common to all VPC APIs, see VPC common headers.
Request query parameters
The following describes the parameters.
Field | Type | Required | Description |
---|---|---|---|
regionCode | String | Optional | Region code of the network ACL whose description you want to edit |
networkAclNo | String | Required | Number of the network ACL whose description you want to edit |
networkAclDescription | String | Optional | Description for the network ACL to edit (byte) |
responseFormatType | String | Optional | Response result format
|
Request example
The following is a sample request.
curl --location 'https://ncloud.apigw.ntruss.com/vpc/v2/setNetworkAclDescription
?regionCode=KR
&networkAclNo=***31
&networkAclDescription=test-description'
--header 'x-ncp-apigw-timestamp: {Timestamp}'
--header 'x-ncp-iam-access-key: {Access Key}'
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'
Response
The following describes the response format.
Response body
See NetworkAclList for the response body.
Response status codes
For response status codes common to NAVER Cloud Platform, see Ncloud API response status codes.
Response example
The following is a sample response.
<setNetworkAclDescriptionResponse>
<requestId>b3826530-2906-476e-916f-c3f29221c59d</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<networkAclList>
<networkAcl>
<networkAclNo>***31</networkAclNo>
<networkAclName>test-***</networkAclName>
<vpcNo>***04</vpcNo>
<networkAclStatus>
<code>RUN</code>
<codeName>run</codeName>
</networkAclStatus>
<networkAclDescription>test-description</networkAclDescription>
<createDate>2020-06-24T15:37:07+0900</createDate>
<isDefault>false</isDefault>
</networkAcl>
</networkAclList>
</setNetworkAclDescriptionResponse>
Was this article helpful?