---
title: "Update a workspace"
method: PUT
path: "/workspaces/{workspacePublicId}"
tags: ["Workspaces"]
---

# Update a workspace

`PUT /workspaces/{workspacePublicId}`

Updates a workspace by its public ID

## Path parameters

- `workspacePublicId` string, required

## Request body

- object
  - `name` string
  - `slug` string
  - `description` string
  - `showEmailsToMembers` boolean
  - `weekStartDay` union
    - 0
    - 1
    - 6

## Response `200`

Successful response

- object
  - `publicId` string, required
  - `name` string, required
  - `slug` string, required
  - `description` string, nullable, required
  - `plan` 'free' | 'team' | 'pro' | 'enterprise', required
  - `showEmailsToMembers` boolean, nullable, required
  - `weekStartDay` number, nullable, required

## Other responses

- `400` — Invalid input data
- `401` — Authorization not provided
- `403` — Insufficient access
- `404` — Not found
- `500` — Internal server error

---

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