All Products
Search
Document Center

Cloud Firewall:DeleteNatFirewallControlPolicy

Last Updated:Sep 02, 2024

Deletes an access control policy that is created for a NAT firewall.

Operation description

You can use this operation to delete an outbound access control policy that is created for a NAT firewall.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-cloudfirewall:DeleteNatFirewallControlPolicydelete
  • All Resources
    *
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the content within the response. Valid values:

  • zh: Chinese (default)
  • en: English
zh
AclUuidstringYes

The UUID of the access control policy.

To delete an access control policy, you must provide the ID of the policy. You can call the DescribeNatFirewallControlPolicy operation to query the UUIDs of access control policies.

b6c8f905-2eb6-442a-ba35-9416e9dbb2c5
NatGatewayIdstringYes

The ID of the NAT gateway.

ngw-xxxxxx
DirectionstringYes

The direction of the traffic to which the access control policy applies.

Valid values:

  • out: outbound traffic
out

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

31306869-C4BC-56F3-BBE6-C377CF9C8E1C

Examples

Sample success responses

JSONformat

{
  "RequestId": "31306869-C4BC-56F3-BBE6-C377CF9C8E1C"
}

Error codes

HTTP status codeError codeError messageDescription
400ErrorParametersUidThe aliUid parameter is invalid.The aliUid parameter is invalid.
400ErrorDBSelectAn error occurred while querying database.An error occurred while querying database.
400ErrorDBDeleteAn error occurred while deleting the database.An error occurred while deleting the database.
400ErrorRecordLogAn error occurred while updating the operation log.An error occurred while updating the operation log.

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-03-13The Error code has changedView Change Details