Delete an order

DELETE https://www.digicert.com/services/v2/order/certificate/{{order_id}}

Use this endpoint to delete an eligible inactive order with the given order ID.

To delete an inactive order and revoke its certificate at the same time, set the optional revoke query parameter to true.

Example requests and responses

curl -X DELETE \
  https://www.digicert.com/services/v2/order/certificate/{{order_id}} \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'
curl -X DELETE \
  https://www.digicert.com/services/v2/order/certificate/{{order_id}}?revoke=true \
  -H 'Content-Type: application/json' \
  -H 'X-DC-DEVKEY: {{api_key}}'

204 No Content

// empty

URL path and query parameters

NameReq/OptDescription
order_idrequiredID of the inactive order to delete.
revokeoptionalWhen set to true, revokes the certificate and deletes the order in a single request.
Default: false.