DELETE SSH Config

Removes SSH Security config from the Secure Proxy Configuration Manager.

With the /deleteSSHConfig/{SSH Security config Name} method, you can delete a SSH Security config 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 SSH Security config request details

Delete SSH Security config request details

Method Resource URI Description

DELETE

sshSecurityConfig

/sspcmrest/sspcm/rest/sshSecurityConfig/deleteSSHConfig/{SSH Security config Name}

Deletes the SSH Security config objects from the Secure Proxy Configuration Manager.

Table 2. Delete SSH Security config object URI input parameters

Delete SSH Security config object URI input parameters

Parameter Required or Optional Description Validation Valid values

SSH Security config Name

Required

Removes a SSH Security config object from the Secure Proxy Configuration Manager.

Must be a non-empty string a-zA-Z0-9_.

Delete SSH Security config User example

The following example shows the HTTP request.

HTTP SSH Security config User request

DELETE https://localhost:8443/sspcmrest/sspcm/rest/sshSecurityConfig/deleteSSHConfig/SshConfig11
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”

XML SSH Security config 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>{Message:SSH Security Configuration SshConfig11 deleted successfully.}</message>
    <messageLevel>INFO</messageLevel>
    <results/>
</XmlResponse>