---
title: "Delete collector group."
method: DELETE
path: "/collectorGroups/{key}"
tags: ["collectorGroups"]
---

# Delete collector group.

`DELETE /collectorGroups/{key}`

Delete collector group if it isn't in use by a Sample Generator.

## Path parameters

- `key` string, required

## Response `200`

Deleted.

- CollectorGroupsResponse — The group of collectors
  - `description` string — A description of the collector group.
  - `createdBy` string — Id of the user who created the collector group.
  - `id` string — The collector group id.
  - `name` string — The collector group name.
  - `collectors` object[] — List of collectors for the group.

## Other responses

- `400` — Bad Request
- `401` — Authentication Error
- `403` — Forbidden
- `404` — Resource Not Found
- `default` — Error

## Changes

- **2018-03-30** (v1) `4ca6b20ef8df` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/salesforce/apis/refocus-api/changes/collectorGroups/:key/delete.md)

---

[API](https://skmtc.dev/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.dev/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salesforce/refocus-api/revisions/42c2153b047e/schema)
