---
title: Delete deny list REST API
description: The delete deny list REST application programming interface (API) deletes active deny lists in API Behavioral Security (ABS).
component: pingintelligence
version: 5.2
page_id: pingintelligence:pingintelligence_reference_guide:pingintelligence_delete_blacklist_rest_api
canonical_url: https://docs.pingidentity.com/pingintelligence/5.2/pingintelligence_reference_guide/pingintelligence_delete_blacklist_rest_api.html
revdate: April 3, 2024
---

# Delete deny list REST API

The delete deny list REST application programming interface (API) *(tooltip: \<div class="paragraph">
\<p>A specification of interactions available for building software to access an application or service.\</p>
\</div>)* 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:

```json
{
      "ips": [],
      "cookies": {},
      "oauth_tokens": [],
      "api_keys": [],
      "usernames": ["user_70"]
}
```

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

```json
{
    "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:

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