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
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
OrderId | long | Yes | 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
Examples
Sample success responses
JSON
format
{
"RequestId": "082FAB35-6AB9-4FD5-8750-D36673548E76"
}
Error codes
For a list of error codes, visit the Service error codes.
HTTP status code | Error code | Description |
---|---|---|
404 | NotFoundPackage | The error message returned because no certificate resource plans were purchased. |
404 | NotRemainCount | The error message returned because the certificate quota is insufficient. |
403 | CreateCertificateRequestFailed | The error message returned because the request failed to be created. |
404 | NotFoundOrder | The error message returned because the specified certificate order was not found. |
403 | OrderStateError | The error message returned because the status of the certificate order is invalid. |
403 | DeleteFail | The error message returned because the certificate application order failed to be deleted. |
500 | Error | The error message returned because an error occurred. |