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

# Edit Workspace

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

Edit a workspace with the given fields.

## Path parameters

- `workspace_id` string, uuid, required

## Request body

- object

## Response `200`

Successful Response

- WorkspaceResponse
  - `data` Workspace, required
    - `id` string, uuid
    - `created_at` string, date-time
    - `is_starred` boolean
    - `modified_at` string, date-time, nullable, required
    - `name` string, nullable, required
    - `user_id` string, required
    - `payload` object, nullable
    - `ui_metadata` object, nullable
    - `is_deleted` boolean
    - `deleted_at` string, date-time, nullable
    - `list_id` string, uuid, nullable

## Other responses

- `422` — Validation Error

---

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