Description
This function is for deleting the SSL certificate of a specified domain name.
- This function is intended for API providers.
- If a nonexistent SSL certificate is deleted, the returned result shows the deletion is successful.
- If the specified API group does not exist, the error InvalidGroupId.NotFound is returned.
- Access over HTTPS is not supported after the SSL certificate is deleted. Exercise caution when using this interface.
Request parameters
Name | Type | Required? | Description |
---|---|---|---|
Action | String | Yes | Interface name, which is a required parameter; value: DeleteDomainCertificate. |
GroupId | String | Yes | API group ID, which is generated by the system and globally unique. |
DomainName | String | Yes | Custom domain name. |
CertificateId | String | Yes | Unique SSL certificate ID, which is automatically generated by the system. |
Returned parameters
Name | Type | Description |
---|---|---|
RequestId | String | Unique request ID. |
Examples
Request example
https://apigateway.cn-hangzhou.aliyuncs.com/?Action=DeleteDomainCertificate
&GroupId=927d50c0f2e54b359919923d908bb015
&DomainName=api.demo.com
&CertificateId=6EF60BEC-0242-43AF-BB20-270359FB54A7
&<Public request parameters>
Response example
XML
format
<DeleteDomainCertificateResponse>
<RequestId>6EF60BEC-0242-43AF-BB20-270359FB54A7</RequestId>
</DeleteDomainCertificateResponse>
JSON
format
{
"RequestId": "6EF60BEC-0242-43AF-BB20-270359FB54A7"
}