---
title: "Delete items"
method: DELETE
path: "/people/2/persons/{personId}/lists/{listName}/items"
tags: ["customer-engagement", "people", "custom-attributes-lists"]
deprecated: true
---

# Delete items

`DELETE /people/2/persons/{personId}/lists/{listName}/items`

## Request

- Base URL: `https://api.infobip.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.infobip.com/people/2/persons/{personId}/lists/{listName}/items`
- Auth: one of:
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`
  - API key in header `Authorization`
  - API key in header `Authorization`
  - HTTP basic

> **Deprecated.**

Deletes items with given identifiers and returns rest items of the updated list.

## Path parameters

- `personId` integer, required
- `listName` string, required

## Query parameters

- `itemIds` string[], required

## Response `200`

Items deleted

## Other responses

- `400`: Bad request: missing or invalid parameter
- `401`: Unauthorized
- `403`: Forbidden
- `404`: <ul><li>no profile with a given personId</li><li>no custom attribute with a given listName</li><li>no instance of a list with a given listName</li><li>no items with given itemIds in a list</li></ul>
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/infobip/apis/infobip-openapi-specification.md) - [All operations](https://skmtc.dev/infobip/apis/infobip-openapi-specification/llms.txt) - [OpenAPI document](https://skmtc.dev/infobip/apis/infobip-openapi-specification/revisions/9dcbbaf902de?raw)
