Skip to main content
PATCH
/
sites
/
{siteId}
Update a site
curl --request PATCH \
  --url https://public-api.replo.app/api/v1/public/sites/{siteId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Replo-Api-Version: <replo-api-version>' \
  --data '
{
  "name": "<string>"
}
'
{
  "object": "site",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "subdomain": "<string>",
  "is_default": true
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Replo-Api-Version
enum<string>
required

The public API version to use for this request.

Available options:
2026-06-27

Path Parameters

siteId
string<uuid>
required

Body

application/json
name
string
Required string length: 1 - 255

Response

Update a site

object
enum<string>
required
Available options:
site
id
string<uuid>
required
name
string
required
subdomain
string
required
is_default
boolean
required