---
title: "PUT /site/settings_url"
method: PUT
path: "/site/settings_url"
tags: ["Site"]
---

# PUT /site/settings_url

`PUT /site/settings_url`

Update site url

## Request body

- SettingsURL
  - `siteOrg` string
  - `siteName` string
  - `url` string
  - `deployGroupId` string

## Response `204`

Success

## Other responses

- `400` — code == 1: Invalid site name or organization<br /> code == 2: URL missing<br /> code == 3: Deploy group not found<br /> code == 4: Domain not found or not active<br /> code == 5: Domain already in use
- `500` — Server error

## Changes

- **2023-06-13** `c9159f20c562` — 1 info
  - endpoint added
- **2023-06-09** `b7c6ba235941` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/bohr-io/apis/bohr-io-api/changes/site/settings_url/put.md)

---

[API](https://skmtc.dev/bohr-io/apis/bohr-io-api.md) · [All operations](https://skmtc.dev/bohr-io/apis/bohr-io-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bohr-io/bohr-io-api/revisions/926405b5dade/schema)
