# Delete a value

`DELETE /api/v1/value-lists/{valueList}/items/{valueListItem}`

Delete a value of a value list.

A value in use stays: deleting it answers 422 on valueListItem with The value is in use and stays. Stop offering it instead, and everything that already has it keeps it.

## Path parameters

- `valueList` (integer, required): The id of the value list, as List value lists gives it.
- `valueListItem` (integer, required): The id of the value, as List value lists gives it among the items of its list.

## Returns

Nothing. A list of another account, a list that belongs to one field, and a value of another list answer 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/value-lists/21/items/87 \
  -X DELETE \
  -H "Authorization: Bearer $MONICA_TOKEN"
```

```javascript
const response = await fetch('https://my.monicahq.com/api/v1/value-lists/21/items/87', {
  method: 'DELETE',
  headers: { Authorization: `Bearer ${token}` },
})
```

```php
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/value-lists/21/items/87');
```

## Response

`204`, with no body.
