# Remove a column

`DELETE /api/v1/vaults/{vault}/knowledge/lists/{list}/columns/{column}`

Remove a column from a list, with what every item holds in it.

The deletion is final. The last column of a list cannot be removed, and is refused with 422 and “The last column cannot be removed. A list needs at least one.”

The change is written to the account log.

## Path parameters

- `vault` (string, required): The vault, named either by the readable name it reports as slug or by its id. A vault of another account answers 404.
- `list` (uuid, required): The id of the list. A list of another vault or of another account answers 404.
- `column` (uuid, required): The id of the column. A column of another list answers 404.

## Returns

Nothing. A column of another list answers 404.

## Rate limit

Sixty requests per minute, per user, shared by every key and device. Every answer carries the budget left in `X-RateLimit-Remaining`.

## Request

```sh
curl https://my.monicahq.com/api/v1/vaults/dunder-mifflin/knowledge/lists/e94b1c37-6a28-4d50-8b3f-2c7e9a4d1f68/columns/0f7b2d95-3e61-4a8c-9d47-6b1e8c5a3f29 \
  -X DELETE \
  -H "Authorization: Bearer $MONICA_TOKEN"
```

```javascript
const response = await fetch('https://my.monicahq.com/api/v1/vaults/dunder-mifflin/knowledge/lists/e94b1c37-6a28-4d50-8b3f-2c7e9a4d1f68/columns/0f7b2d95-3e61-4a8c-9d47-6b1e8c5a3f29', {
  method: 'DELETE',
  headers: { Authorization: `Bearer ${token}` },
})
```

```php
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/vaults/dunder-mifflin/knowledge/lists/e94b1c37-6a28-4d50-8b3f-2c7e9a4d1f68/columns/0f7b2d95-3e61-4a8c-9d47-6b1e8c5a3f29');
```

## Response

`204`

```json
[]
```
