# Delete a life event

`DELETE /api/v1/vaults/{vault}/life-events/{lifeEvent}`

Take a life event off the timeline of everybody who was there. It can be restored.

## Path parameters

- `vault` (string, required): The vault the life events live in, named either by the readable name it reports as slug or by its id.
- `lifeEvent` (uuid, required): The id of the life event. One addressed through the wrong vault, or belonging to another account, answers 404.

## Returns

Nothing at all.

## 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/life-events/7c1e5a92-4b3d-4f80-a6e2-93d0b1c4f857 \
  -X DELETE \
  -H "Authorization: Bearer $MONICA_TOKEN"
```

```javascript
const response = await fetch('https://my.monicahq.com/api/v1/vaults/dunder-mifflin/life-events/7c1e5a92-4b3d-4f80-a6e2-93d0b1c4f857', {
  method: 'DELETE',
  headers: { Authorization: `Bearer ${token}` },
})
```

```php
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/vaults/dunder-mifflin/life-events/7c1e5a92-4b3d-4f80-a6e2-93d0b1c4f857');
```

## Response

`204`, with no body.
