---
title: "Update a space"
method: PUT
path: "/v1/spaces/{spaceId}"
tags: ["Spaces"]
---

# Update a space

`PUT /v1/spaces/{spaceId}`

Updates the details of a specific space by its ID.

## Path parameters

- `spaceId` integer, required

## Headers

- `X-Org-Id` integer, required

## Request body

- SpaceUpdateRequest
  - `spaceName` string
  - `description` string
  - `spaceType` string

## Response `200`

OK

## Changes

- **2026-08-08** `237f5bbd4029` — 1 breaking, 1 info
  - removed the media type `application/hal+json` for the response with the status `200`
  - added the media type `application/vnd.hal+json` for the response with the status `200`

[Change history](https://skmtc.dev/astravue/apis/astravue-api/changes/v1/spaces/:spaceId/put.md)

---

[API](https://skmtc.dev/astravue/apis/astravue-api.md) · [All operations](https://skmtc.dev/astravue/apis/astravue-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/astravue/astravue-api/revisions/290e97dda2ec/schema)
