Replaces an additional certificate.
Note You cannot replace an additional certificate for a listener that is added to a shared-resource
Server Load Balancer (SLB) instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | SetDomainExtensionAttribute |
The operation that you want to perform. Set the value to SetDomainExtensionAttribute. |
DomainExtensionId | String | Yes | de-bp1rp7ta***** |
The ID of the domain name that is associated with the additional certificate to be replaced. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region where the SLB instance is created. |
ServerCertificateId | String | Yes | 1231579xxxxxxxx_166f8204689_1714763408_709981xxx |
The ID of the new certificate. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 149A2470-F010-4437-BF68-343D5099C19D |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=SetDomainExtensionAttribute
&DomainExtensionId=de-bp1rp7ta*****
&RegionId=cn-hangzhou
&ServerCertificateId=1231579xxxxxxxx_166f8204689_1714763408_709981xxx
&<Common request parameters>
Sample success responses
XML
format
<SetDomainExtensionAttributeResponse>
<RequestId>149A2470-F010-4437-BF68-xxxxx</RequestId>
</SetDomainExtensionAttributeResponse>
JSON
format
{
"RequestId": "B1435A8D-5AE2-4EB2-9590-xxxxxx"
}
Error codes
For a list of error codes, visit the API Error Center.