---
title: "Update space"
method: PATCH
path: "/spaces/{space_id}"
tags: ["spaces"]
---

# Update space

`PATCH /spaces/{space_id}`

Update details of a specific space

## Path parameters

- `space_id` string, required

## Request body

- SpaceUpdate — Model for updating an existing space.
  - `name` string, nullable
  - `icon` string, nullable
  - `color` string, nullable
  - `privacy_level` string, nullable

## Response `200`

Successful Response

- Space — Full space model including system fields.
  - `name` string, required — Space name
  - `icon` string, nullable — Emoji icon for space identification
  - `color` string, nullable — Hex color code for space theming
  - `template_type` string, nullable — Template used: work, personal, learning, custom
  - `privacy_level` string, nullable — Privacy setting: personal, shared, team
  - `space_type` 'text_only' | 'multimodal' — Space type determines which Weaviate collection is used for storage.
  - `id` string, required — Unique space identifier
  - `space_id` string, required — Space ID for UI operations
  - `space_tenant_id` string, required — Weaviate tenant ID for this space
  - `role` string, required — User's role: owner, editor, viewer
  - `created_at` string, date-time, required — Creation timestamp
  - `last_accessed` string, date-time, nullable — Last access timestamp
  - `memory_count` integer — Number of memories in this space
  - `shared_with` string[] — User IDs this space is shared with
  - `collection_name` string — Weaviate collection: Memory or MemoryMultimodal

## Other responses

- `422` — Validation Error

---

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