---
title: "Update Domain Access"
method: POST
path: "/api/bot/domain-access"
tags: ["Bot"]
---

# Update Domain Access

`POST /api/bot/domain-access`

Update domain access for the bot.

## Request body

- BotDomainAccessSchema — Domain access schema.
  - `bot_id` string, uuid, required — Unique identifier for the bot.
  - `domain` string[], required — List of domains associated with the bot.

## Response `200`

Successful Response

- HttpResponseSchema — HTTP Response Schema.
  - `message_code` integer, required — Numeric code indicating the type of message or response.
  - `message` string, required — Human-readable message providing additional context about the response.
  - `data` unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.net/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/versions/cbb37496f138/schema)
