Deletes the SSL certificate of a specified domain name. This operation is intended for API providers. If the SSL certificate does not exist, a success response is still returned. If the specified API group does not exist, the InvalidGroupId.NotFound error is returned. Access over HTTPS is not supported after the SSL certificate is deleted. Exercise caution when using this API operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:DeleteDomainCertificate |
delete |
*ApiGroup
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GroupId |
string |
Yes |
The ID of the API group. This ID is generated by the system and globally unique. |
927d50c0f2e54b359919923d908bb015 |
| DomainName |
string |
Yes |
The custom domain name. |
api.demo.com |
| CertificateId |
string |
Yes |
The ID of the SSL certificate that you want to delete. The ID is automatically generated by the system and globally unique. |
c621720d1eb34843822b7fb5148e6926 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CE5722A6-AE78-4741-A9B0-6C817D360510 |
Examples
Success response
JSON format
{
"RequestId": "CE5722A6-AE78-4741-A9B0-6C817D360510"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.