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

# Delete all recipients of a campaign by ID.

> Only campaigns with status "draft" can be modified.




## OpenAPI

````yaml /openapi/chat-client.yaml delete /whatsapp/campaigns/{id}/recipients
openapi: 3.0.3
info:
  version: 1.0.0
  title: HealviChat Client API
servers:
  - url: https://{tenant_domain}/third-party/v1
    variables:
      tenant_domain:
        default: your-tenant.onhealvi.com
        description: Your tenant domain
security:
  - bearerAuth: []
paths:
  /whatsapp/campaigns/{id}/recipients:
    delete:
      tags:
        - whatsapp
      summary: Delete all recipients of a campaign by ID.
      description: |
        Only campaigns with status "draft" can be modified.
      parameters:
        - in: path
          name: id
          schema:
            type: integer
          required: true
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      deleted:
                        type: integer
                        description: Number of deleted recipients.
                        example: 4200
                      total:
                        type: integer
                        description: Recipients left on the campaign, always 0.
                        example: 0
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````