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
The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action
policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:
- Operation: the value that you can use in the Action element to specify the operation on a resource.
- Access level: the access level of each operation. The levels are read, write, and list.
- Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
- For mandatory resource types, indicate with a prefix of * .
- If the permissions cannot be granted at the resource level,
All Resources
is used in the Resource type column of the operation.
- Condition Key: the condition key that is defined by the cloud service.
- Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
Operation | Access level | Resource type | Condition key | Associated operation |
---|---|---|---|---|
yundun-cert:DeleteCertificateRequest | delete | *All Resources * |
| none |
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.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-09-20 | API Description Update | View Change Details |
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. |