---
title: "Agent Rename Workspace"
method: PATCH
path: "/agent/workspaces/{workspace_id}"
---

# Agent Rename Workspace

`PATCH /agent/workspaces/{workspace_id}`

## Request

- Base URL: `https://app.wunel.com` (the document declares no server; this is the origin it was published from)
- URL: `https://app.wunel.com/agent/workspaces/{workspace_id}`
- Auth: none declared

Agent-facing workspace rename — the twin of PATCH /workspaces/{id}, which
only a browser session can call. OWNER-ONLY: service.rename_workspace goes
through require_owner, so a plain member (even an editor) gets a 403.
Renames the space itself; nothing inside it moves and no link changes.

## Path parameters

- `workspace_id` string, required

## Request body

- AgentCreateWorkspaceRequest
  - `name` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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