You can call this operation to turn off a firewall switch.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes PutDisableFwSwitch

The operation that you want to perform.

Set the value to PutDisableFwSwitch.

SourceIp String No

The source IP address of the request.

Lang String No zh

The natural language of the request and response. Valid values:

  • zh: Chinese
  • en: English
IpaddrList.N RepeatList No ["",""]

The list of IP addresses.

RegionList.N RepeatList No ["cn-hangzhou","cn-shanghai"]

The list of regions.

ResourceTypeList.N RepeatList No ["EcsPublicIp","NatEip"]

The list of asset types.

Valid values:

  • BastionHostIP: the IP address of a bastion host
  • EcsEIP: the EIP of an ECS instance
  • EcsPublicIP: the public IP address of an ECS instance
  • EIP
  • EniEIP: the EIP of an ENI
  • NatEIP: the EIP of a NAT gateway
  • SlbEIP: the EIP of an SLB instance
  • SlbPublicIP: the public IP address of an SLB instance
  • NatPublicIP: the public IP address of a NAT gateway
  • HAVIP: the HA VIP

Response parameters

Parameter Type Example Description
RequestId String B2841452-CB8D-4F7D-B247-38E1CF7334F8

The ID of the request.


Sample requests

http(s)://[Endpoint]/? Action=PutDisableFwSwitch&IpaddrList=["",""]
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.