---
title: "Update a space site"
method: POST
path: "/space/{spaceId}/site/{siteId}/update"
tags: ["Space Site"]
---

# Update a space site

`POST /space/{spaceId}/site/{siteId}/update`

## Request

- Base URL: `https://api.chatbotkit.com/api/v1`
- URL: `https://api.chatbotkit.com/api/v1/space/{spaceId}/site/{siteId}/update`
- Auth: HTTP bearer

## Path parameters

- `spaceId` string, required
- `siteId` string, required

## Request body

- object: Instance crud properties
  - `alias` string, nullable: The unique alias for the instance
  - `name` string: The associated name
  - `description` string: The associated description
  - `meta` Meta: Meta data information
  - `slug` string: The subdomain slug beneath the configured space apex
  - `prefix` string: Optional folder prefix inside the space to serve from
  - `index` string: Directory index filename
  - `notFound` string: Not found filename
  - `access` 'public' | 'private': Who can open the site - public (anyone) or private (only through a temporary link)

## Response `200`

The site was updated successfully

- object
  - `id` string, required: The ID of the updated site

## Other responses

- `default`: An error response

---

[API](https://skmtc.dev/chatbotkit/apis/cbk-api.md) · [All operations](https://skmtc.dev/chatbotkit/apis/cbk-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatbotkit/apis/cbk-api/revisions/13d250576136?raw)
