---
title: "PATCH /api/workspaces/{workspace_id}/"
method: PATCH
path: "/api/workspaces/{workspace_id}/"
tags: ["Workspaces"]
---

# PATCH /api/workspaces/{workspace_id}/

`PATCH /api/workspaces/{workspace_id}/`

Updates the existing workspace related to the provided `workspace_id` parameter if the authorized user belongs to the workspace. It is not yet possible to add additional users to a workspace.

## Path parameters

- `workspace_id` integer, required

## Headers

- `ClientSessionId` string, uuid
- `ClientUndoRedoActionGroupId` string, uuid

## Request body

- PatchedWorkspace
  - `id` integer
  - `name` string
  - `generative_ai_models_enabled` string

## Response `200`

- Workspace
  - `id` integer, required
  - `name` string, required
  - `generative_ai_models_enabled` string, required

## Other responses

- `400`
- `404`

---

[API](https://skmtc.net/baserow/apis/baserow-api-spec.md) · [All operations](https://skmtc.net/baserow/apis/baserow-api-spec/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/baserow/baserow-api-spec/versions/0c490e5b0c7f/schema)
