
# Delete an event

Delete one event. For bulk deletes, prefer `deleteIds` on [the events batch](/api/events/post-events-batch).

```sh
DELETE https://sitepaste.com/api/v1/public/sites/{siteId}/events/{eventId}
```

Requires the `content` scope.

## Usage

```bash
curl -X DELETE "https://sitepaste.com/api/v1/public/sites/default/events/4ghjanhpo9sy" \
  -H "Authorization: Bearer $TOKEN"
```


## Response

204 No Content on success. 400 when `{eventId}` is malformed; 404 when it is well formed but names no event on the site.