DELETE KeyStore

Removes a keyStore from the Secure Proxy Configuration Manager.

With the deleteKeyStore/{keyStoreName} method, you can delete a keyStore on the server.

This API method requires authentication, and therefore the authentication token generated at login must be passed in through the "X-Authentication" header.

Table 1. Delete KeyStore request details

Delete KeyStore request details.

Method Resource URI Description

DELETE

keyStore

/sspcmrest/sspcm/rest/keyStore/deleteKeyStore/{keyStoreName}

Deletes the keyStore from the Secure Proxy Configuration Manager.

Table 2. Delete KeyStore URI input parameters

Delete KeyStore URI input parameters

Parameter Required or Optional Description Validation Valid values

keyStoreName

Required

Removes a keyStore from the Secure Proxy Configuration Manager.

Must be a non-empty string

a-zA-Z0-9_.

HTTP KeyStore request

The following example shows the HTTP request:

DELETE https://localhost:8443/sspcmrest/sspcm/rest/keyStore/
deleteKeyStore/NM_Trusted
“X-Authentication”: 
“61504f4a524b48532b776a3467643733374b526368513d3d”

XML KeyStore response

The following example shows the XML response:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <XmlResponse>
    <httpCode>200</httpCode>
    <httpStatus>OK</httpStatus>
    <action>None</action>
    <message>KeyStore definition NM_Trusted deleted successfully</message>
    <messageLevel>INFO</messageLevel>
    <results/>
    </XmlResponse>