# Take records out of their groups

Takes the records named in `ids` out of EVERY group on this page in one transaction — 'in no group' said once, instead of reading the group list and calling remove per group. A record in three groups leaves all three and files one timeline line per membership actually ended; a record in no group at all is a no-op. At most 100 ids. It names no group, which is why this path has no groupId.

Access class: `def:read`.

## Endpoint

`POST /v1/definitions/{key}/groups/rows/remove`

## Parameters

| Name | In | Type | Required |
| --- | --- | --- | --- |
| key | path | string | Yes |

## Request body

Content type: `application/json`.

```json
{
  "body": {
    "ids": [
      "string"
    ]
  },
  "params": {
    ":key": "string"
  },
  "query": {}
}
```

## Responses

### 201

the action's answer

Content type: `application/json`.

```json
{
  "data": {
    "changed": 1,
    "failed": 1,
    "requested": 1,
    "results": [
      {
        "changed": "string",
        "error": "string",
        "ok": "string",
        "rowId": ""
      }
    ],
    "succeeded": 1
  }
}
```

### 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"
}
```
