# Delete a provenance event

`DELETE /api/v1/vaults/{vault}/possessions/{possession}/provenance/{event}`

Delete a provenance event of a possession.

The deletion is final. The transaction the event points at, if any, stays. The account log keeps the name of the possession.

## Path parameters

- `vault` (string, required): The vault the possession is kept in, named either by the readable name it reports as slug or by its id. A vault of another account answers 404.
- `possession` (uuid, required): The id of the possession. A possession of another vault or of another account answers 404.
- `event` (uuid, required): The id of the event. An event of another possession answers 404.

## Returns

Nothing. An event of another possession or of another account 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/schrute-farms/possessions/5e1b7c93-4a28-4d6f-9b02-7c3e8a1f4d60/provenance/8a3f2d15-6c94-4e70-b1d8-3f5a9c2e7b41 \
  -X DELETE \
  -H "Authorization: Bearer $MONICA_TOKEN"
```

```javascript
const response = await fetch('https://my.monicahq.com/api/v1/vaults/schrute-farms/possessions/5e1b7c93-4a28-4d6f-9b02-7c3e8a1f4d60/provenance/8a3f2d15-6c94-4e70-b1d8-3f5a9c2e7b41', {
  method: 'DELETE',
  headers: { Authorization: `Bearer ${token}` },
})
```

```php
$response = Http::withToken($token)->delete('https://my.monicahq.com/api/v1/vaults/schrute-farms/possessions/5e1b7c93-4a28-4d6f-9b02-7c3e8a1f4d60/provenance/8a3f2d15-6c94-4e70-b1d8-3f5a9c2e7b41');
```

## Response

`204`

```json
[]
```
