DELETE Adapter

Removes an adapter from the IBM ® Secure Proxy Configuration Manager.

With the deleteAdapter/{adapterName} method, you can delete an adapter on the server.

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

Table 1. Delete Adapter request details

Delete Adapter request details.

Method Resource URI Description

DELETE

adapter

/sspcmrest/sspcm/rest/adapter/deleteAdapter/{adapterName}

Deletes the adapter from the IBM ® Secure Proxy Configuration Manager.

Table 2. Delete Adapter URI input parameters

Delete Adapter URI input parameters

Parameter Required or Optional Description Validation Valid values

adapterName

Required

Removes an adapter from the IBM ® Secure Proxy Configuration Manager.

Must be a non-empty string

a-zA-Z0-9_.

HTTP adapter request

The following example shows the HTTP request:

DELETE https://localhost:8443/sspcmrest/sspcm/rest/adapter/deleteAdapter/CD_Adapter
“X-Authentication”: “61504f4a524b48532b776a3467643733374b526368513d3d”

XML adapter 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>Adapter definition CD_Adapter deleted successfully</message>
    <messageLevel>INFO</messageLevel>
    <results/>
    </XmlResponse>