---
title: "Delete an Exclusion Group by its ID if it has no associated Target Groups"
method: DELETE
path: "/demand/accounts/{account_id}/exclusion-groups/{exclusion_group_id}"
tags: ["Respondent Exclusions"]
---

# Delete an Exclusion Group by its ID if it has no associated Target Groups

`DELETE /demand/accounts/{account_id}/exclusion-groups/{exclusion_group_id}`

## Request

- Base URL: `https://api.cint.com/v1`
- URL: `https://api.cint.com/v1/demand/accounts/{account_id}/exclusion-groups/{exclusion_group_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/cint/apis/demand-api/docs/demand/accounts/:account_id/exclusion-groups/:exclusion_group_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Deletes a specific exclusion group. **Prerequisite:** You must remove all target groups from an exclusion group before you can delete it. Attempting to delete a group that still contains target groups will result in a failed request with a conflict error.

## Response `204`

Successfully deleted the Exclusion Group.

- object

## Other responses

- `400`: A request is not valid and can't be processed.
- `401`: A request is unauthorized.
- `403`: A requested is forbidden.
- `404`: A requested resource isn't found.
- `409`: An already existing resource has conflicts with the request.
- `500`: A request failed due to an internal error.

---

[API](https://skmtc.dev/cint/apis/demand-api.md) - [All operations](https://skmtc.dev/cint/apis/demand-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cint/apis/demand-api/revisions/077a4bdda5cb?raw)
