---
title: "Update Workspace"
method: PATCH
path: "/workspaces/{workspace_id}"
tags: ["workspaces"]
---

# Update Workspace

`PATCH /workspaces/{workspace_id}`

## Path parameters

- `workspace_id` string, required

## Request body

- WorkspaceUpdateRequest
  - `name` string, nullable
  - `description` string, nullable

## Response `200`

Successful Response

- WorkspaceResponse
  - `id` string, required
  - `owner_user_id` string, required
  - `name` string, required
  - `description` string, nullable
  - `created_at` string, date-time, required
  - `team_id` string, nullable
  - `repos` WorkspaceMemberResponse[], nullable
    - `repo_id` string, required
    - `alias` string, nullable
    - `added_at` string, date-time, required
  - `stale_members` StaleMemberResponse[], nullable
    - `repo` string, required
    - `reason` string, required
    - `repo_id` string, nullable
  - `stale_member_count` integer
  - `inaccessible_member_count` integer
  - `answering_member_count` integer
  - `stale_member_remedy` string, nullable
  - `has_indexed_snapshot` boolean

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-18** `d1694e41a8a1` — 6 info
  - added the optional property `answering_member_count` to the response with the `200` status
  - added the optional property `has_indexed_snapshot` to the response with the `200` status
  - added the optional property `inaccessible_member_count` to the response with the `200` status
  - added the optional property `stale_member_count` to the response with the `200` status
  - …2 more

[Change history](https://skmtc.dev/repowise/apis/repowise-hosted-api/changes/workspaces/:workspace_id/patch.md)

---

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