All Products
Search
Document Center

Cloud Firewall:ModifySensitiveSwitch

Last Updated:Oct 15, 2025

Modifies the status of the sensitive data detection switch.

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

Lang

string

No

The language of the response. Valid values:

  • zh (default): Chinese

  • en: English

zh

SensitiveCategory

string

No

The type of sensitive data.

id_card

SwitchStatus

string

No

The status of the switch. Valid values:

  • 1: on.

  • 0: off.

1

Response elements

Element

Type

Description

Example

object

The ID of the request.

RequestId

string

The ID of the request.

6169C0A4-B91A-5D48-AE4D-B9432D15****

Examples

Success response

JSON format

{
  "RequestId": "6169C0A4-B91A-5D48-AE4D-B9432D15****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.