You can call this operation to configure the illicit content moderation feature, including the sampling proportion and quota.


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 SetUserGreenManagerConfig

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

Quota String Yes xxx

The maximum number of images for the illicit content moderation feature. The value must be no less than 100,000.

Ratio String Yes xxx

The proportion of the sampled images.

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.


Sample requests

http(s):// Action=SetUserGreenManagerConfig
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For more information about error codes, visit API Error Center.