You can call this operation to modify the risk levels of data, including the default risk level of data that Sensitive Data Discovery and Protection (SDDP) cannot classify as sensitive or insensitive and the risk levels of data that SDDP classifies as sensitive.

Debugging

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 ModifyDefaultLevel

The operation that you want to perform. Set the value to ModifyDefaultLevel.

DefaultId Long No 4

The default risk level ID of data that SDDP cannot classify as sensitive or insensitive. Valid values:

  • 1: S1, indicating the low risk level
  • 2: S2, indicating the medium risk level
  • 3: S3, indicating the high risk level
  • 4: S4, indicating the highest risk level
Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English
SensitiveIds String No S1,S2,S3,S4

The risk level ID of data that SDDP classifies as sensitive. Separate multiple IDs with commas (,). Valid values:

  • S1: low risk level
  • S2: medium risk level
  • S3: high risk level
  • S4: highest risk level

Response parameters

Parameter Type Example Description
RequestId String 208B016D-4CB9-4A85-96A5-0B8ED1EBF271

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=ModifyDefaultLevel
&<Common request parameters>

Sample success responses

XML format

<ModifyDefaultLevel>
	  <RequestId>208B016D-4CB9-4A85-96A5-0B8ED1EBF271</RequestId>
	</ModifyDefaultLevel>

JSON format

{
	"RequestId":"208B016D-4CB9-4A85-96A5-0B8ED1EBF271"
}

Error codes

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