---
title: "Update a site"
method: PUT
path: "/api/v1/sites/{id}"
tags: ["Sites"]
---

# Update a site

`PUT /api/v1/sites/{id}`

## Request

- Base URL: `https://session-replay.com`
- URL: `https://session-replay.com/api/v1/sites/{id}`
- Auth: HTTP bearer

Team admins only. Retention and tier are not settable here - both follow the team's plan.

## Headers

- `Authorization` string

## Response `200`

site updated

## Other responses

- `403`: not a team admin

---

[API](https://skmtc.dev/session-replay/apis/session-replay-api.md) · [All operations](https://skmtc.dev/session-replay/apis/session-replay-api/llms.txt) · [OpenAPI document](https://skmtc.dev/session-replay/apis/session-replay-api/revisions/120e5613bf95?raw)
