Delete CSR - DELETE /api/ssl/csr/{ssl-key-id}

Parent Previous Next

DELETE /api/ssl/csr/{ssl-key-id}                            

Remove a Certificate Signing Request (CSR) from the QUANTIL system.  Ssl-key-id represents a CSR. It is returned when you create a CSR request.  The id is also visible when you request a list of CSR.


Request Details


Request Headers


Header

Description

Required

Authorization

Authorization string for the request

Yes

Host

URI for the QUANTIL SDK (i.e., api.quantil.com)

Yes

Date

The date and time of the request.

Yes

Accept

Indicates the accepted format (i.e., application/xml)

Yes


Request Body Elements

This request does not include an XML document in the request body.


Request Syntax:


DELETE /api/ssl/csr HTTP/1.1

Authorization: <authorization string>

Host: api.quantil.com

Date: <date>

Accept: application/xml


Here is the structure of a request using the curl utility.


curl -i --url https://api.quantil.com/api/ssl/csr/{ssl-key-id} -X DELETE -u {user}: {password} -H 'Date: Thu, 17 May 2012 19:37:58 GMT' -H 'Accept: application / xml'


Sample Request:


curl -i --url 'https://api.quantil.com/api/ssl/csr/123 -X DELETE -u test:7FjxDx/j6xSILkHsO5SOCDkQfJ8= -H 'Date: Wed, 06 Aug 2014 11:04:18 PDT' -H 'Accept: application/xml'

Response Details:


Response Headers:

HTTP/1.1 200 OK

Date: <date>

Content-Type: application/xml; charset = utf-8

x-cnc-request-id: {id string auto generated by the QUANTIL server}



Response Body Elements

Element

Description

response

container for additional information from the QUANTIL server.

message

a message returned by the QUANTIL server.  

Sample Response:


HTTP/1.1 200 OK

Date: Fri, 09 Jan 2015 00:08:50 GMT

Accept-Ranges: bytes

Location: https://api.quantil.com/api/ssl/csr/91

Server: WS-web-server

x-cnc-request-id: 4718956

ContentType: application/xml;charset=UTF-8

Content-Type: application/xml;charset=UTF-8

Content-Length: 86


<?xml version="1.0" encoding="UTF-8"?>

<response><message>success</message></response>


Error List


Error

Description

HTTP status code

NoSuchCertificate

The CSR you specified is invalid.

403