---
title: "PATCH /api/v1/spaces/{space}"
method: PATCH
path: "/api/v1/spaces/{space}"
tags: ["SpaceService"]
---

# PATCH /api/v1/spaces/{space}

`PATCH /api/v1/spaces/{space}`

UpdateSpace updates space metadata.

## Path parameters

- `space` string, required

## Query parameters

- `updateMask` string, field-mask

## Request body

- Space — Space is a collaboration boundary for placed memos.
  - `name` string — The resource name of the space. Format: spaces/{space}.
  - `title` string, required — Required. The human-readable title.
  - `description` string — Optional. A description of the space.
  - `currentUserRole` 'ROLE_UNSPECIFIED' | 'ADMIN' | 'USER', enum — Output only. The authenticated user's membership role in this space. ROLE_UNSPECIFIED when this Space is exposed as metadata-only.
  - `memberCount` integer — Output only. The number of accepted members in this space. Pending invitations are excluded. Zero when this Space is exposed as metadata-only.

## Response `200`

OK

- Space — Space is a collaboration boundary for placed memos.
  - `name` string — The resource name of the space. Format: spaces/{space}.
  - `title` string, required — Required. The human-readable title.
  - `description` string — Optional. A description of the space.
  - `currentUserRole` 'ROLE_UNSPECIFIED' | 'ADMIN' | 'USER', enum — Output only. The authenticated user's membership role in this space. ROLE_UNSPECIFIED when this Space is exposed as metadata-only.
  - `memberCount` integer — Output only. The number of accepted members in this space. Pending invitations are excluded. Zero when this Space is exposed as metadata-only.

## Other responses

- `default` — Default error response

---

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