All Products
Search
Document Center

Certificate Management Service:DeleteCertificateRequest

Last Updated:Jun 25, 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

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:
    • The required resource types are displayed in bold characters.
    • 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.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-cert:DeleteCertificateRequestWrite
  • All Resources
    *
    none
none

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]~~455801~~) operation to submit a certificate application, you can obtain the ID of the certificate application order from the OrderId response parameter.
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
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.