You can call the OpenDcdnService operation to activate DCDN.
Operation description
You can activate DCDN only once per Alibaba Cloud account. Your account must have completed real-name authentication.
The call frequency is limited to 5 calls per second per user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:OpenDcdnService |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BillType |
string |
Yes |
The billing method for the service. Valid values:
|
PayByTraffic |
| WebsocketBillType |
string |
Yes |
The billing method for the WebSocket service. Valid values:
|
websockettraffic |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
97C68796-EB7F-4D41-9D5B-12B909D76503 |
Examples
Success response
JSON format
{
"RequestId": "97C68796-EB7F-4D41-9D5B-12B909D76503"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | DcdnService.HasOpened | Your DCDN service has been activated. | DCDN is activated. |
| 400 | InvalidComponent | The specified value of parameter BillType is not valid. | The specified metering method is invalid. Specify another metering method and try again. |
| 400 | NoRealNameAuthentication | Real name authentication is needed. | Your account has not passed real-time verification. |
| 400 | IncompleteInformation | Your information is incomplete. Complete your information before the operation. | You must provide all the required information. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.