Activates Dynamic Route for CDN (DCDN).

  • DCDN can be activated only one time under each Alibaba Cloud account. The Alibaba Cloud account must pass real-name verification.
  • The maximum number of times that each user can call this operation per second is 5.


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 OpenDcdnService

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

BillType String Yes PayByTraffic

The metering method of DCDN. A value of PayByTraffic indicates that the metering method is pay-by-data-transfer.

WebsocketBillType String Yes websockettraffic

The metering method of WebSocket. A value of websockettraffic indicates that the metering method of WebSocket is pay-by-data-transfer.

Response parameters

Parameter Type Example Description
RequestId String 97C68796-EB7F-4D41-9D5B-12B909D76503

The ID of the request.


Sample requests

http(s):// Action=OpenDcdnService
&<common request parameters>

Sample responses

XML format


JSON format


Error codes

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