---
title: "Reorder Nodes"
method: PUT
path: "/api/nodes/order"
tags: ["Node"]
---

# Reorder Nodes

`PUT /api/nodes/order`

## Request

- Base URL: `https://api.ha-man2.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.ha-man2.com/api/nodes/order`
- Auth: OAuth 2
  - Password
  - Token URL: `/api/admin/token`

Persist the display order of nodes.

## Request body

- ReorderRequest
  - `ordered_ids` integer[], required

## Response `204`

Successful Response

## Other responses

- `401`: Unauthorized Error
- `403`: Forbidden Error
- `422`: Validation Error

## Changes

- **2026-11-03** `a7dc3fda908f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ha-man2/apis/pasarguardapi/changes/api/nodes/order/put.md)

---

[API](https://skmtc.dev/ha-man2/apis/pasarguardapi.md) - [All operations](https://skmtc.dev/ha-man2/apis/pasarguardapi/llms.txt) - [OpenAPI document](https://skmtc.dev/ha-man2/apis/pasarguardapi/revisions/a7dc3fda908f?raw)
