Delete KeyDef Entry

Deletes a keyDef entry(ies) from an existing key store on the Secure Proxy Configuration Manager.

With the deleteKeyDefEntries/{keyStoreName} method, you can delete a keyDef entry from an existing key store on the Secure Proxy Configuration Manager.

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 KeyDef Entry request details

DELETE KeyDef Entry request details.

Method Resource URI Description

DELETE

keyStore

/sspcmrest/sspcm/rest/keyStore /deleteKeyDefEntries/{keyStoreName}/{keyDefEntryName}

Deletes an existing keyDef entry from an existing key store on the Secure Proxy Configuration Manager.

Table 2. Delete KeyDef Entry request body parameters

Delete KeyDef Entry request body parameters

Parameter Description

keyStoreName

The name of the keyStore from which the node entry needs to be removed.

keyDefEntryName

The name of the keyDef entry that needs to be removed.

HTTP Netmap request

The following example shows the HTTP request:

DELETE https://localhost:8443/sspcmrest/sspcm/rest/keyStore/deleteKeyDefEntries/del/del3
“X-Authentication”: 
“61504f4a524b48532b776a3467643733374b526368513d3d”

XML Netmap 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>KeyDef entries deleted successfully</message>
    <messageLevel>INFO</messageLevel>
    <objectsList>del3</objectsList>
    <results/>
</XmlResponse>