---
title: "PATCH /v1/spaces/{space_id}/"
method: PATCH
path: "/v1/spaces/{space_id}/"
tags: ["Spaces"]
---

# PATCH /v1/spaces/{space_id}/

`PATCH /v1/spaces/{space_id}/`

SpaceDetailView operations.

## Request body

- SpaceDetail
  - `id` integer
  - `name` string, required
  - `notes` string
  - `iwms_id` string, nullable
  - `timezone` string, nullable
  - `daily_reset` string, nullable
  - `current_count` string
  - `capacity` integer, nullable
  - `target_capacity` integer, nullable
  - `doorways` string

## Response `200`

Updated

- OptionalSpaceDetailSerializer
  - `id` integer
  - `name` string
  - `notes` string
  - `iwms_id` string, nullable
  - `timezone` string, nullable
  - `daily_reset` string, nullable
  - `current_count` string
  - `capacity` integer, nullable
  - `target_capacity` integer, nullable
  - `doorways` string

## Other responses

- `400` — Bad Request
- `403` — Forbidden

---

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