---
title: "Update a node in a space by id"
method: POST
path: "/api/v1/update_space_node"
tags: ["Spaces"]
---

# Update a node in a space by id

`POST /api/v1/update_space_node`

## Request

- Base URL: `https://api.pymaia.com`
- URL: `https://api.pymaia.com/api/v1/update_space_node`
- Auth: HTTP bearer

Update a node in a space by id. Only the fields you pass are written (title, content, status, position, config). Scoped to the current org.

## Request body

- object
  - `id` string, required: UUID of the node to update.
  - `title` string
  - `content` string
  - `status` string
  - `position_x` number
  - `position_y` number
  - `config` object: JSONB config to replace.

## Response `200`

Tool executed successfully

- object
  - `ok` boolean
  - `result` unknown
  - `duration_ms` number

## Other responses

- `400`: Invalid params or handler error
- `401`: Missing or invalid Bearer token
- `403`: Missing required scope(s) (`denied_scope`), or the tool's module is disabled for the organization (`module_disabled`, with `why`, `fix` and `module`)
- `404`: Tool not found, internal-only, or excluded for OAuth connectors
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/pymaia/apis/pymaia-api.md) · [All operations](https://skmtc.dev/pymaia/apis/pymaia-api/llms.txt) · [OpenAPI document](https://skmtc.dev/pymaia/apis/pymaia-api/revisions/705a6973177b?raw)
