---
title: "Delete event"
method: DELETE
path: "/sites/{site_id}/events/{event_id}"
tags: ["Events"]
deprecated: true
---

# Delete event

`DELETE /sites/{site_id}/events/{event_id}`

> **Deprecated.**

Previously deleted an event by its goal code. This endpoint is no longer available.

**Permissions:** Requires write access to the site (`manage:{site_id}`).

## Path parameters

- `site_id` string, required
- `event_id` string, required

## Other responses

- `410` — This endpoint is no longer available. To delete an event, use [Delete event](#delete-event-by-name) with the event name.

## Changes

- **2026-08-24** `93547ee49398` — 1 breaking, 4 info
  - removed the success response with the status `200`
  - endpoint deprecated
  - added the non-success response with the status `410`
  - removed the non-success response with the status `400`
  - …1 more

[Change history](https://skmtc.dev/usefathom/apis/fathom-analytics-api/changes/sites/:site_id/events/:event_id/delete.md)

---

[API](https://skmtc.dev/usefathom/apis/fathom-analytics-api.md) · [All operations](https://skmtc.dev/usefathom/apis/fathom-analytics-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usefathom/fathom-analytics-api/revisions/93547ee49398/schema)
