All Products
Search
Document Center

Certificate Management Service:DeleteCertificateRequest

Last Updated:Jul 31, 2024

Deletes an order in which the application for a domain validated (DV) certificate failed.

Operation description

You can call this operation to delete a certificate application order only in the following scenarios:

  • The status of the order is review failed. You have called the DescribeCertificateState operation to query the status of the certificate application order and the value of the Type parameter is verify_fail.
  • The status of the order is pending application. You have called the CancelOrderRequest operation to cancel a certificate application order whose status is pending review or being reviewed. The status of the certificate application order that is canceled in this case changes to pending application.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
OrderIdlongYes

The ID of the certificate application order that you want to delete.

Note After you call the CreateCertificateForPackageRequest , CreateCertificateRequest , or CreateCertificateWithCsrRequest operation to submit a certificate application, you can obtain the ID of the certificate application order from the OrderId response parameter. You can also call the ListUserCertificateOrder operation to obtain the order ID.
123451222

All Alibaba Cloud API operations must include common request parameters.

For more information about sample requests, see the "Examples" section of this topic.

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The ID of the request.

082FAB35-6AB9-4FD5-8750-D36673548E76

Examples

Sample success responses

JSONformat

{
  "RequestId": "082FAB35-6AB9-4FD5-8750-D36673548E76"
}

Error codes

For a list of error codes, visit the Service error codes.

HTTP status codeError codeDescription
404NotFoundPackageThe error message returned because no certificate resource plans were purchased.
404NotRemainCountThe error message returned because the certificate quota is insufficient.
403CreateCertificateRequestFailedThe error message returned because the request failed to be created.
404NotFoundOrderThe error message returned because the specified certificate order was not found.
403OrderStateErrorThe error message returned because the status of the certificate order is invalid.
403DeleteFailThe error message returned because the certificate application order failed to be deleted.
500ErrorThe error message returned because an error occurred.