---
title: "Update mesh nodes"
method: PUT
path: "/accounts/mesh-nodes"
tags: ["Mesh Nodes"]
---

# Update mesh nodes

`PUT /accounts/mesh-nodes`

## Request

- Base URL: `https://api.quiva.ai`
- URL: `https://api.quiva.ai/accounts/mesh-nodes`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/docs/accounts/mesh-nodes/put.ts> (a function with typed inputs; its response is checked against the schema)

Updates the number of mesh nodes and the available regions

## Request body

- object
  - `num_nodes` number, required: has to be an odd number - 1, 2 or 5
  - `regions` string[], required

## Response `200`

Mesh nodes updated successfully

- object
  - `message` string, required: Success message

## Other responses

- `400`: Bad request
- `401`: Unauthorized

## Changes

- **2025-06-12** `4979dfd00eda`: 1 warning, 1 info
  - removed the optional property `result` from the response with the `200` status
  - the response property `message` became required for the status `200`
- **2025-06-06** `b675c0d97cbd`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/changes/accounts/mesh-nodes/put.md)

---

[API](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway.md) - [All operations](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/quivaworks/apis/quiva-ai-gateway/revisions/700eb1ace61a?raw)
