DELETE Netmap

Removes a netmap from the Secure Proxy Configuration Manager.

With the deleteNetmap/{netmapName} method, you can delete a netmap on the server.

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

Table 1. Delete Netmap request details

Delete Netmap request details.

Method Resource URI Description

DELETE

netmap

/sspcmrest/sspcm/rest/netmap/deleteNetmap/{netmapName}

Deletes the netmap from the Secure Proxy Configuration Manager.

Table 2. Delete Netmap URI input parameters

Delete Netmap URI input parameters

Parameter Required or Optional Description Validation Valid values

netmapName

Required

Removes a netmap from the Secure Proxy Configuration Manager.

Must be a non-empty string

a-zA-Z0-9_.

HTTP Netmap request

The following example shows the HTTP request.

DELETE https://localhost:8443/sspcmrest/sspcm/rest/netmap/
deleteNetmap/Connect_Direct_Netmap
“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>Netmap definition FTP_Netmap12 deleted successfully</message>
    <messageLevel>INFO</messageLevel>
    <results/>
    </XmlResponse>