GET All IP Blocklist Profiles

Retrieves the names of all IP Blocklist profile objects from the Secure Proxy Configuration Manager.

With the getAllIpBlacklistProfiles method, you can retrieve the names of all IP Blocklist profile objects on the Secure Proxy Configuration Manager.

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

Table 1. Get all IP Blocklist profiles request details

Get all IP Blocklist profiles request details.

Method Resource URI Description

GET

IPBlacklistProfiles

/sspcmrest/sspcm/rest/blacklist/ getAllIpBlacklistProfiles

Get the names of all IP Blocklist objects defined with in the Secure Proxy Configuration Manager.

HTTP Blacklist request

The following example shows the HTTP request:

GET https://localhost:8443/sspcmrest/sspcm/rest/blacklist/getAllIpBlacklistProfiles
“X-Authentication”: 
“61504f4a524b48532b776a3467643733374b526368513d3d”

XML Blacklist 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>
    <messageLevel>INFO</messageLevel>
    <objectsList>>["myIP_BlacklistProfile"]</objectsList>
    <results/>
    </XmlResponse>