---
title: "Update Site"
method: PATCH
path: "/entities/site/{site_id}"
tags: ["3. Sites"]
---

# Update Site

`PATCH /entities/site/{site_id}`

Update an existing site's information.

Only fields included in the request will be updated. Returns the updated site details.

## Path parameters

- `site_id` string, uuid, required

## Request body

- SiteUpdateRequest — Request model for updating site information.
  - `tariff` TariffRequest — Request model for updating tariff information.
    - `tariff_cheap_start_time` string, time — Start time for off-peak/cheap rate period
    - `tariff_cheap_end_time` string, time — End time for off-peak/cheap rate period
    - `tariff_type` 'single_rate' | 'dual_rate' | 'dynamic' | 'smart' | 'unknown', required — An enumeration.
  - `address` string — Full address for the site
  - `postcode` string — UK postcode for the site
  - `mpan` string — Meter Point Administration Number
  - `email` string — Email address for the site

## Response `200`

Successful Response

- SiteResponse — Response model for site information.
  - `id` string, uuid, required — Axle's internal UUID for the site
  - `mpan` string — Meter Point Administration Number for the site
  - `postcode` string — UK postcode for the site
  - `address` string — Full address for the site
  - `asset_ids` string[] — List of asset IDs associated with this site
  - `markets` MarketResponse[] — Markets the site is participating in
  - `dispatch_methods` DispatchMethodResponse[] — Dispatch methods allowed for the site
  - `tariff` TariffResponse — Response model for tariff information.
    - `tariff_type` 'single_rate' | 'dual_rate' | 'dynamic' | 'smart' | 'unknown' — An enumeration.
    - `tariff_cheap_start_time` string, time — Start time for off-peak/cheap rate period
    - `tariff_cheap_end_time` string, time — End time for off-peak/cheap rate period
  - `gave_boundary_meter_consent_at` string, date-time — Timestamp when boundary meter consent was given

## Other responses

- `404` — Site not found or not authorized to access
- `422` — Validation Error
- `500` — Internal server error

---

[API](https://skmtc.dev/axle/apis/axle-api-docs.md) · [All operations](https://skmtc.dev/axle/apis/axle-api-docs/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/axle/axle-api-docs/revisions/75be7f9a952f/schema)
