# Delete a record group

Dissolves a record group and its membership. THE RECORDS STAY on the board — the delete stops at the membership rows and has deliberately no path onward to the records themselves — and the timeline entry says how many were released. Use it when a grouping turns out to be wrong.

Access class: `def:read`.

## Endpoint

`DELETE /v1/definitions/{key}/groups/{groupId}`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |
| groupId | path | string | Yes |
| body | query | null | No |
| params | query | object | No |
| query | query | object | No |

## Responses

### 200

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "deleted": true
  }
}
```

### default

a refusal: `{"error": "<what a person needs to read>"}`. 401 no credential, 402 the plan does not include this, 403 the seat does not, 404 the thing does not exist or is not yours to see.

Content type: `application/json`.

```json
{
  "error": "string"
}
```
