Configures the parameter filtering feature for an accelerated domain name.

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 software development kits (SDKs).

Request parameters

Parameter Type Required Example Description
Action String Yes SetIgnoreQueryStringConfig

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

DomainName String Yes www.macaron.org.cn

The accelerated domain name for which you want to enable the parameter filtering feature. You can specify only one domain name.

Enable String Yes On

Specifies whether to enable the filtering parameter feature.

  • On: yes
  • Off: no
HashKeyArgs String No time

The parameters to be retained. Separate parameters with commas (,). A maximum of 10 parameters can be retained.

KeepOssArgs String No on

Specifies whether to retain the back-to-origin parameters.

  • On: yes
  • Off: no

Response parameters

Parameter Type Example Description
RequestId String 16A96B9A-F203-4EC5-8E43-CB92E68F4CD8

The ID of the request.

Examples

Sample requests

http://cdn.aliyuncs.com/?Action=SetIgnoreQueryStringConfig
&Enable=on
&DomainName=example.com
&<Common request parameters>

Sample success responses

XML format

<SetIgnoreQueryStringConfigResponse>
      <RequestId>AED00EC1-32A8-4D48-BEB9-BD782AF3C6BD</RequestId>
</SetIgnoreQueryStringConfigResponse>

JSON format

{
    "RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}

Error codes

HttpCode Error code Error message Description
400 InvalidEnable.ValueNotSupported The specified value of parameter Enable is not supported. The error message returned because the Enable parameter is set to an invalid value. Valid values are On and Off.
400 InvalidHashKeyArgs.ValueNotSupported At most 10 HashKeyArgs are supported. The error message returned because a maximum of 10 parameters can be retained.
400 InvalidKeepOssArgs.ValueNotSupported The specified value of parameter KeepOssArgs is not supported. The error message returned because the specified KeepOssArgs parameter is not supported.

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