PUT Update Netmap
Changes a netmap definition on the Secure Proxy Configuration Manager.
With the updateNetmap/{netmapName} method, you can update the existing netmap defined within the Secure Proxy Configuration Manager.
This API method requires authentication. The authentication token generated at login must be passed in through the "X-Authentication" header.
| Method | Resource | URI | Description |
|---|---|---|---|
PUT |
netmap |
/sspcmrest/sspcm/rest/netmap/updateNetmap/{netmapName} |
Updates the existing netmap with the XML provided. |
| Parameter | Required or Optional | Description | Validation | Valid values |
|---|---|---|---|---|
netmapName |
Required |
Updates the existing netmap with the new XML |
Must be a non-empty string |
a-zA-Z0-9_. |
HTTP Netmap request
The following example shows the HTTP request:
PUT https://localhost:8443/sspcmrest/sspcm/rest/netmap/
updateNetmap/Connect_Direct_Netmap
“X-Authentication”:
“61504f4a524b48532b776a3467643733374b526368513d3d”
“X-Passphrase”: “XXXXXXX”
“Content-Type”: “application/xml”
XML corresponding to updating the netmap
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>Netmap definition FTP_Netmap12 updated successfully</message>
<messageLevel>INFO</messageLevel>
<results/>
</XmlResponse>