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.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer automatically generates the sample code of the operation for different SDKs.

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.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format

    "RequestId": "B1435A8D-5AE2-4EB2-9590-xxxxxx"

Error codes

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