---
title: "Remove persons from company batch"
method: DELETE
path: "/people/2/companies/persons"
tags: ["customer-engagement", "people", "company-profile"]
---

# Remove persons from company batch

`DELETE /people/2/companies/persons`

## 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/companies/persons`
- Auth: one of:
  - HTTP basic
  - API key in header `Authorization`
  - API key in header `Authorization`
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.infobip.com/auth/1/oauth2/token`

Use this method to remove persons from a company.<br>**NOTE** Array size is limited to `1000` persons.

## Query parameters

- `id` integer
- `externalId` string
- `name` string
- `domain` string

## Request body

- F844b0afac35672d98ce1343ef10d571c4af0fe8a10110acace5c340f3fe0877BatchPersonsToCompanyRequest
  - `people` F844b0afac35672d98ce1343ef10d571c4af0fe8a10110acace5c340f3fe0877PersonsToCompanyEntry[]: List of people.
    - `query` D4672690671974f6265c4d7a3cef5f9272fe4290e9edb608eab676ae3febd3a1IdentityQuery
      - `identifier` string: Person ID. ID type must match the `type` parameter. Some channels (e,g., Apple Business Chat) use identifiers that contain unsafe characters. Make sure you URL-encode them in your API request
      - `sender` string: Sender or application ID. `sender` is required for all identifier types except `ID`, `EXTERNAL_ID`, `PHONE`, `EMAIL`.
      - `type` 'ID' | 'EXTERNAL_ID' | 'PHONE' | 'EMAIL' | 'LINE' | 'FACEBOOK' | 'TELEGRAM' | 'PUSH' | 'WEB_PUSH' | 'LIVE_CHAT' | 'VIBER_BOTS' | 'INSTAGRAM' | 'INSTAGRAM_DM' | 'TWITTER' | 'APPLE_BUSINESS_CHAT' | 'KAKAO_SANGDAM' | 'OPEN_CHANNEL' | 'ZALO_FOLLOWER' | 'TIKTOK_BM' | 'WHATSAPP' | 'KAKAO_TALK'

## Response `200`

successful response

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too Many Requests
- `500`: Internal Server Error
- `4XX`: Error responses
- `5XX`: Error responses

---

[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)
