All Products
Search
Document Center

Cloud Firewall:UpdatePostpayUserNatStatus

Last Updated:Oct 27, 2025

Updates the status of a NAT border firewall for a pay-as-you-go instance.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

InstanceId

string

No

The ID of the Cloud Firewall instance.

cfw_elasticity_public_cn-************

Operate

string

No

The type of operation. Valid value:

  • open: Enables the NAT border firewall.

open

Lang

string

No

The language of the response message. Valid values:

  • zh (default): Chinese

  • en: English

zh

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request.

850A84D6-0DE4-4797-A1E8-00090******

Examples

Success response

JSON format

{
  "RequestId": "850A84D6-0DE4-4797-A1E8-00090******"
}

Error codes

HTTP status code

Error code

Error message

Description

400 ErrorAliUid Aliuid invalid. The aliuid is invalid.
400 ErrorParameters A parameter error occurred. A parameter error occurred.
400 ErrorDBSelectError A database select error occurred. The error message returned because an internal error has occurred in querying the database.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.