> ## Documentation Index
> Fetch the complete documentation index at: https://docs.repdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete recipients from recipients list

> # Description

Delete recipients from recipient list. 

# Body

```json
{
    "recipients": array,
}
```

where:

- `recipients`: Array of recipients id to be deleted.

# Response

```json
{
  "failedCount": number
}
```

where:

- `failedCount`: Number of recipients that couldn't be deleted.

# Description

Delete recipients from recipient list.

# Body

```json theme={null}
{
    "recipients": array,
}
```

where:

* `recipients`: Array of recipients id to be deleted.

# Response

```json theme={null}
{
  "failedCount": number
}
```

where:

* `failedCount`: Number of recipients that couldn't be deleted.


## OpenAPI

````yaml POST /campaigns-service/v1/recipientsList/bulkDelete
openapi: 3.0.3
info:
  title: SightX API
  version: 1.0.0
  description: >-
    SightX REST API documentation. Most responses are JSON; some export
    endpoints return files. API access is a paid add-on — contact
    sales@sightx.io for details.
servers:
  - url: https://auth.admin.sightx.io
    description: Authentication (Production)
  - url: https://auth.staging-admin.sightx.io
    description: Authentication (Staging)
security:
  - AuthorizationHeader: []
paths:
  /campaigns-service/v1/recipientsList/bulkDelete:
    post:
      summary: Delete recipients from recipients list
      description: |-
        # Description

        Delete recipients from recipient list. 

        # Body

        ```json
        {
            "recipients": array,
        }
        ```

        where:

        - `recipients`: Array of recipients id to be deleted.

        # Response

        ```json
        {
          "failedCount": number
        }
        ```

        where:

        - `failedCount`: Number of recipients that couldn't be deleted.
      operationId: >-
        delete-recipients-from-recipients-list-post-campaigns-service-v1-recipientslist-bulkdelete
      parameters:
        - name: Authorization
          in: header
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
            example:
              recipients:
                - recipient id 1
                - recipient id 2
      responses:
        '200':
          description: Successful response
        '400':
          description: Bad request
        '401':
          description: Unauthorized
        '500':
          description: Internal server error
      servers:
        - url: https://campaigns.sightx.io
components:
  securitySchemes:
    AuthorizationHeader:
      type: apiKey
      in: header
      name: Authorization
      description: Access token obtained from the m2m-token endpoint.

````