12 Cancelling SSL Order
This is a series of articles dedicated to demonstrating how to get acquainted withOpenprovider SSL API methods. If you want to go the beginning of this guide, please navigate to the article "1 How to choose a product".
To get more information about our API in general, pleaseuse our documentation portalas your reference.
Using the previous method "12 Open an access to end user" we shared an access to order for end user.
After we moved through a process of creating, renewing, modifying and reissuing certificate time has come to check how cancellation can be processed.
After we moved through a process of creating, renewing, modifying and reissuing certificate time has come to check how cancellation can be processed.
Cancellation is the process of voiding your SSL order request, no matter whether it's active or not. Certificate will pass revocation at CA side and resource used certificate will no longer be protected.
Please note cancellation is fully refunded if processed within 30 days after the certificate became "ACT".
Please note cancellation is fully refunded if processed within 30 days after the certificate became "ACT".
POST {base_url}/ssl/orders/{id}/cancel
REQUEST EXAMPLE
curl -X POST \
https://api.cte.openprovider.eu/v1beta/ssl/orders/1/cancel \
-H 'Authorization: Bearer deb4bf804928981b018caf45c3c4142b' \
-H 'Content-Type: application/json' \
-d '{
"id": "1"
}'
RESPONSE EXAMPLE
{
"code": 0,
"data": {
"id": 1
},
"desc": ""
}RESPONSE VALUES
Name |
Values |
Description |
|---|---|---|
|
code |
numeric |
API Result with code returned. |
| 1. data | set of values | Cancel Order Response Data. |
| 1.1 id | integer | Returns Openprovider order ID that been processed. |
| desc | string | Description (if available). |
| maintenance | True or False | The Maintenance: True or False. |
| 2. warnings | An array of elements. | An array of boolean and string data returned if Openprovider is under maintenance mode. |
| 2.1 code | digits | Warning code digits. |
| 2.2 data | string | Data value returned. |
| 2.3 desc | string | The description value returned. |
Please note order changes status from "Active" to "Cancelled" within 24 hrs.
Code "0" indicated that we've successfully canceled an order.
Canceled order remains in "FAI" status and cannot be reactivated.
(new order creation and confirmation required even you want to protect same domain as before).