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

# Update event

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

> **Deprecated.**

Previously updated 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

## Request body

- object
  - `name` string — The name of the event (up to 255 characters).
  - `currency` 'dollar' | 'pound' | 'euro' | 'yuan' | 'peso' | 'shekel' | 'yen' | 'won' | 'hryvnia' | 'franc' | 'rupee' | 'integer' | 'none' — The currency used for any value attached to this event's completions.

## Other responses

- `410` — This endpoint is no longer available. To change an event's currency, use [Set event currency](#set-event-currency).

## 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/post.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)
