PUT Update SSH Security Config

Changes a SSH Security config object on the server.

With the updateSSHConfig/{SSH Security config Name} method, you can update the existing SSH Security config defined 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. Update SSH Security config request details

Update SSH Security config request details

Method Resource URI Description

PUT

sshSecurityConfig

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

Updates the existing SSH Security config with the XML provided.

Table 2. Update SSH Security config URI input parameters

Update SSH Security config URI input parameters

Parameter Required or Optional Description Validation Valid values

SSH Security config Name

Required

The name of the SSH Security config that is defined with in Secure Proxy Configuration Manager.

Must be a non-empty string

a-zA-Z0-9_

HTTP SSH Security config request

The following example shows the HTTP request:

PUT /sspcmrest/sspcm/rest/sshSecurityConfig/updateSSHConfig/newSSH
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”
“Content-Type”: “application/xml”
XML corresponding to defining a SSH Security config

HTTP SSH Security config response

The following example shows the JSON 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 newSSH updated successfully.}</message>
    <messageLevel>INFO</messageLevel>
    <results/>
</XmlResponse>