---
title: "Update a Site name or internal slug"
method: PATCH
path: "/sites/{siteId}"
---

# Update a Site name or internal slug

`PATCH /sites/{siteId}`

## Request

- Base URL: `https://gringofunnels.com/api/v1`
- URL: `https://gringofunnels.com/api/v1/sites/{siteId}`
- Auth: HTTP bearer

Requires funnels:write. It never changes DNS or a connected hostname.

## Request body

- SiteUpdate
  - `name` string
  - `slug` string

## Response `200`

Site updated

## Other responses

- `401`: Missing or invalid API key
- `403`: The scoped credential does not grant this operation
- `404`: Site not found
- `409`: Site slug is already in use
- `422`: Invalid query parameters

---

[API](https://skmtc.dev/gringofunnels/apis/gringo-funnels-api.md) · [All operations](https://skmtc.dev/gringofunnels/apis/gringo-funnels-api/llms.txt) · [OpenAPI document](https://skmtc.dev/gringofunnels/apis/gringo-funnels-api/revisions/b57b5e365b56?raw)
