GET All Blocklist Profiles

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

With the getAllBlacklistProfiles method, you can retrieve the names of all Blocklist 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 Blocklist profiles request details

Get all Blocklist profiles request details.

Method Resource URI Description

GET

Blacklist Profiles

/sspcmrest/sspcm/rest/blacklist/ getAllBlacklistProfiles

Get the names of all blocklist profile 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/getAllBlacklistProfiles
“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","myUserID_BlacklistProfile"]</objectsList>
    <results/>
    </XmlResponse>