You can call the SetDcdnDomainSMCertificate operation to configure an SM certificate for a specific accelerated domain name.
Operation description
The call frequency is limited to 30 calls per second per user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:SetDcdnDomainSMCertificate |
update |
*Domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| DomainName |
string |
Yes |
The accelerated domain name for which you want to configure the SM certificate. Note
The domain name must use HTTPS acceleration. |
example.com |
| CertIdentifier |
string |
Yes |
The certificate ID followed by "-cn-hangzhou". For example, if the certificate ID is `123`, the value of CertIdentifier is `123-cn-hangzhou`. |
123-cn-hangzhou |
| SSLProtocol |
string |
Yes |
Specifies whether to enable the SM certificate.
|
on |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
0AEDAF20-4DDF-4165-8750-47FF9C1929C8 |
Examples
Success response
JSON format
{
"RequestId": "0AEDAF20-4DDF-4165-8750-47FF9C1929C8"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidCertIdentifier.ValueNotSupported | The specified value of parameter CertIdentifier is not valid. | The CertIdentifier parameter is set to an invalid value. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.