---
title: "Patch Auto Join"
method: PATCH
path: "/api/workspaces/{slug}/auto-join"
tags: ["Workspaces"]
---

# Patch Auto Join

`PATCH /api/workspaces/{slug}/auto-join`

## Request

- Base URL: `https://api.kolens.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kolens.ai/api/workspaces/{slug}/auto-join`
- Auth: HTTP bearer

## Path parameters

- `slug` string, required

## Headers

- `x-kolens-user-id` string, nullable

## Request body

- UpdateAutoJoinDomainsRequest
  - `domains` string[]

## Response `200`

Successful Response

- AutoJoinDomainsOut
  - `workspace_id` string, required
  - `slug` string, required
  - `domains` string[], required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kolens/apis/kolens-api.md) · [All operations](https://skmtc.dev/kolens/apis/kolens-api/llms.txt) · [OpenAPI document](https://skmtc.dev/kolens/apis/kolens-api/revisions/5d6865ab0a24?raw)
