Modifies the certificate of a domain name extension.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
Action String Yes SetDomainExtensionAttribute

The name of this action.

Value: SetDomainExtensionAttribute

DomainExtensionId String Yes de-bp1rp7ta191dv

The ID of the domain name extension to be modified.

RegionId String Yes cn-hangzhou

The ID of the region to which the SLB instance belongs.

ServerCertificateId String Yes 1231579xxxxxxxx_166f8204689_1714763408_709981xxx

The ID of the new certificate.

Response parameters

Parameter Type Example value Description
RequestId String 149A2470-F010-4437-BF68-343D5099C19D

The ID of the request.

Examples

Request example


http(s)://[Endpoint]/? Action=SetDomainExtensionAttribute
&DomainExtensionId=de-bp1rp7ta191dv
&RegionId=cn-hangzhou
&ServerCertificateId=1231579xxxxxxxx_166f8204689_1714763408_709981xxx
&<CommonParameters>

Response examples

XML format

<SetDomainExtensionAttributeResponse>
  <RequestId>149A2470-F010-4437-BF68-xxxxx</RequestId>
</SetDomainExtensionAttributeResponse>

JSON format

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

Error codes

See common error codes.