---
docId: doc_e6106e1c658a41a6a9685c2f645608e3
title: Clear the audience
description: "Clear a campaign audience without deleting its contacts."
api:
  group: campañas/audiencia
  auth: bearer
  operations:
    - operationId: clearCampaignAudience
      method: DELETE
      path: '/v1/campaigns/{campaignId}/audience'
      postmanName: Clear the audience of a campaign
---

<script>
  import { Ways } from '$lib/components';
</script>

# Clear the audience

Clear the campaign audience by removing its internal tag from all associated contacts. The contacts remain in the workspace.

## Example

<Ways tabs="api,sdk">
<Ways.Way name="api">

```bash
curl -X DELETE https://api.platic.ai/v1/campaigns/$CAMPAIGN_ID/audience \
  -H "Authorization: Bearer $PLATIC_API_KEY"
```

</Ways.Way>
<Ways.Way name="sdk">

```ts
await platic.campaigns.audience.clear("campaign_123");
```

</Ways.Way>
</Ways>

## Path parameters

| Parameter | Type | Description | Required |
| --- | --- | --- | --- |
| `campaignId` | string | Unique identifier of the campaign | required |

## Response `200 OK`

```json
{
  "status": "success",
  "message": "All clients removed from campaign successfully",
  "data": {
    "success": true,
    "message": "All clients removed from campaign audience successfully",
    "removedCount": 245
  }
}
```

## Notes

- If the audience is already empty, the operation answers `200` with `removedCount: 0`.
