---
title: "Rename the workspace"
method: PATCH
path: "/api/team"
---

# Rename the workspace

`PATCH /api/team`

## Request

- Base URL: `https://postwire.io`
- URL: `https://postwire.io/api/team`
- Auth: HTTP bearer

Owner or admin. Only a person signed in to the dashboard (its session key plus X-PostWire-Source: dashboard): an API key or an AI connector gets 403 team_requires_human, even an admin's.

## Request body

- object
  - `name` string

## Response `200`

{ ok, name }

## Other responses

- `403`: role_forbidden, team_requires_human

---

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