---
title: "Delete an unsubscribe group"
method: DELETE
path: "/v1/unsubscribe-groups/{id}"
tags: ["Unsubscribe Groups"]
---

# Delete an unsubscribe group

`DELETE /v1/unsubscribe-groups/{id}`

## Request

- Base URL: `https://api.samva.dev`
- URL: `https://api.samva.dev/v1/unsubscribe-groups/{id}`
- Auth: API key in header `x-api-key`

Permanently deletes an unsubscribe group by its ID. The default group cannot be deleted; make another group the default first. A group a scheduled or running campaign uses cannot be deleted until that run finishes or is cancelled.

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `success` boolean, required

## Other responses

- `401`: UnauthorizedError
- `403`: ForbiddenError
- `404`: ResourceNotFoundError
- `409`: ConflictError
- `422`: ValidationError
- `500`: InternalError
- `504`: GatewayTimeoutError

---

[API](https://skmtc.dev/samva/apis/samva-api.md) · [All operations](https://skmtc.dev/samva/apis/samva-api/llms.txt) · [OpenAPI document](https://skmtc.dev/samva/apis/samva-api/revisions/a99408542cc3?raw)
