Cancel a certificate request that is still being processed by the Certificate Authority (CA).
Use the Delete Certificate endpoint to delete a TLS certificate that has already been generated by the CA.
Our CDN is not a certificate authority. We have partnered with the Digicert certificate authority to fulfill your certificate requests.
Canceling a certificate request may result in one of the following actions:
You may preview the effect that this operation will have on an certificate request by passing ?apply=false query string when requesting it.
Request the following endpoint to either cancel a certificate request or to revert it:
HTTP Method | Request URI |
---|---|
PUT |
Cancel certificate request: https://api.vdms.io/sec/cps/v2.0/certificates/Certificate Request ID/cancel?apply=true Preview the effect of canceling a certificate request: https://api.vdms.io/sec/cps/v2.0/certificates/Certificate Request ID/cancel?apply=false |
Define the following variable when submitting the above request:
VariableA variable represents a value that must be replaced. A variable consists of either a URL segment (e.g., "0001" in /0001/) or a query string value (e.g., "3" in mediaTypes=3). | Description |
---|---|
Required |
Replace this variable with the system-defined ID for the desired certificate request. Use the Get All Certificate Requests endpoint to retrieve a list of certificate requests and their system-defined ID. |
This endpointIdentifies a request's connection point to our REST API service. only takes advantage of common request headers.
Unlike requests to api.edgecast.com, requests to our API gateway (api.vdms.io) require an access token (OAuth).
Request body parameters are not required by this endpoint.
The response includes an HTTP status code, response headers, and a response body. The HTTP status code and response body varies according to whether you are canceling a certificate request or previewing what will happen.
A status code indicates whether the request was successfully performed. This status code varies according to whether you are canceling a certificate request or previewing what will happen.
Cancel Certificate Request (?apply=true)
204 No Content
Preview Cancel Certificate Request (?apply=false)
200 OK
The response for this endpoint only includes standard HTTP response headers.
The response body for a successful request varies according to whether you are canceling a certificate request or previewing what will happen.
Cancel Certificate Request (?apply=true)
Returns an empty response body.
Preview Cancel Certificate Request (?apply=false)
The response body contains the following elements:
Name | Data Type | Description |
---|---|---|
action |
String |
Indicates the action that will take place upon canceling this certificate request. Valid values are:
|
id |
Integer |
Indicates the system-defined ID for the action that will take place upon canceling this certificate request. Valid values are:
|
The response body for an unsuccessful request may contain an error element that provides additional information.
A sample JSON request is shown below.
PUT https://api.vdms.io/sec/cps/v2.0/certificates/11605/cancel?apply=true HTTP/1.1
Accept: application/json
Content-Type: application/json
Host: api.vdms.io
A sample JSON response is shown below.
HTTP/1.1 204 No Content
Cache-Control: private
Content-Type: application/json; charset=utf-8
Date: Thu, 15 Apr 2021 12:00:00 GMT