# Delete an event

Removes an event. The record is retained rather than erased, but no endpoint
restores it, so treat this as final.
**This delete answers `200`, not the usual `204`.** The body carries `messages`, a
list of notices raised while deleting - for example when the event was still in use
elsewhere in the account. It is `null` when there is nothing to say.

Endpoint: DELETE /api/v2/event/{id}
Version: 2.0.0
Security: default

## Path parameters:

  - `id` (integer, required)
    The ID of the event.

## Header parameters:

  - `Rosterfy-Platform` (string)

## Response 200 fields (application/json):

  - `messages` (string | null)

