You can call this operation to set the virtual waiting room feature for a CDN domain. This operation is available only for CDN domains of the DCDN business type.


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 SetWaitingRoomConfig

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

AllowPct Integer Yes 30

The maximum percentage of the origin requests that are allowed. Valid values: 0 to 100.

DomainName String Yes

The name of the CDN domain to set the virtual waiting room feature for.

GapTime Integer Yes 20

The length of the time to skip the queue after users exit the queue. Unit: seconds.

MaxTimeWait Integer Yes 30

The maximum length of time that users need to wait in the queue. Unit: seconds.

WaitUri String Yes xxx

The regular expression that is used to match URI strings for which the virtual waiting room feature is enabled.

WaitUrl String Yes WaitUrl

The URL of the waiting page.

Response parameters

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

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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