edit-icon download-icon

Delete a domain name certificate

Last Updated: May 17, 2017

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

  1. https://apigateway.cn-hangzhou.aliyuncs.com/?Action=DeleteDomainCertificate
  2. &GroupId=927d50c0f2e54b359919923d908bb015
  3. &DomainName=api.demo.com
  4. &CertificateId=6EF60BEC-0242-43AF-BB20-270359FB54A7
  5. &<Public request parameters>

Response example

XML format

  1. <DeleteDomainCertificateResponse>
  2. <RequestId>6EF60BEC-0242-43AF-BB20-270359FB54A7</RequestId>
  3. </DeleteDomainCertificateResponse>

JSON format

  1. {
  2. "RequestId": "6EF60BEC-0242-43AF-BB20-270359FB54A7"
  3. }
Thank you! We've received your feedback.