---
title: Delete Blacklist REST API
description: The Delete Blacklist REST API deletes active blacklists in ABS. The API checks if the client identifier is present in the active list or not before deleting.
component: pingintelligence
version: 5.1
page_id: pingintelligence:abs_ai_engine:pingintelligence_delete_blacklist_rest_api
canonical_url: https://docs.pingidentity.com/pingintelligence/5.1/abs_ai_engine/pingintelligence_delete_blacklist_rest_api.html
revdate: March 25, 2024
---

# Delete Blacklist REST API

The Delete Blacklist REST API deletes active blacklists in ABS. The API checks if the client identifier is present in the active list or not before deleting.

**Method**: PUT

**URL for the API**: `/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"
}
```
