PingIntelligence

Delete deny list REST API

The delete deny list REST application programming interface (API) deletes active deny lists in API Behavioral Security (ABS).

The API checks if the client identifier is present in the active list or not before deleting.

Method: PUT

URL: /v4/abs/attacklist/

Header Value

Access Key

x-abs-ak

<string>

Secret Key

x-abs-sk

<string>

Sample Request to the API:

{
      "ips": [],
      "cookies": {},
      "oauth_tokens": [],
      "api_keys": [],
      "usernames": [“user_70”]
}

Sample response from the API when the client identifiers from active blacklists are deleted:

{
    "message": "The following attacks have been removed:",
    "attacklist": {
        "ips": [],
        "cookies": {},
        "oauth_tokens": [
            "SYU4R2ZZN1IDYI0L"
        ],
        "api_keys": [],
        "usernames": []
    },
    "status_code": "SUCCESS"
}

Sample response from the API when the deletion fails:

{
    "status_code": "INVALID_JSON",
    "message": "Invalid json. Please ensure all input fields are present and have valid values"
}