---
title: "Update a specific site by id"
method: PATCH
path: "/sites/{site_id}"
tags: ["Sites"]
---

# Update a specific site by id

`PATCH /sites/{site_id}`

Update an existing site identified by its ID.

Only provided fields will be updated.

## Path parameters

- `site_id` string, required

## Request body

- object

## Response `200`

Successful Response

- Site — Model representing a site as returned by the API.
  - `name` string, required — Name of the site
  - `location` string, nullable — Physical location of the site (e.g. address or lab name)
  - `notes` string, nullable — Free-text notes about the site
  - `id` string, required — Unique identifier for the site
  - `organization_id` string, required — Organization this site belongs to.
  - `created_by` string, nullable — User ID of the user who created this site
  - `created_by_email` string, nullable — Email of the user who created this site
  - `created_at` string, date-time, required — Timestamp when the site was created
  - `updated_at` string, date-time, required — Timestamp when the site was last updated
  - `cycler_ids` object[], nullable — List of cycler IDs belonging to this site

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/ionworks/apis/fastapi.md) · [All operations](https://skmtc.dev/ionworks/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ionworks/fastapi/revisions/7337a3cbdaf2/schema)
