---
title: "Update workspace"
method: PATCH
path: "/workspaces/{workspaceID}"
tags: ["Workspaces"]
---

# Update workspace

`PATCH /workspaces/{workspaceID}`

## Request

- Base URL: `https://api.mailforge.ai/public`
- URL: `https://api.mailforge.ai/public/workspaces/{workspaceID}`
- Auth: API key in header `Authorization`

Updates the name of an existing workspace.

## Path parameters

- `workspaceID` string, required

## Request body

- ApiUpdateWorkspaceRequest
  - `name` string

## Response `204`

Updated

## Other responses

- `404`: Workspace not found

---

[API](https://skmtc.dev/mailforge/apis/mailforge-api.md) - [All operations](https://skmtc.dev/mailforge/apis/mailforge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/mailforge/apis/mailforge-api/revisions/7d2c137f9fc3?raw)
