Nimbu Developer Docs
ReferencePages

Reorder pages

POST
/pages/sort

Reorders pages in the site tree by passing an ordered map of {item_id, parent_id} entries. Requires an admin user token.

Authorization

AuthorizationBearer <token>

Personal access token tied to a user account. Requires the X-Nimbu-Site header to scope requests.

In: header

X-Nimbu-Site<token>

Identifier of the site context when authenticating with a personal access token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/pages/sort" \  -H "Content-Type: application/json" \  -d '{    "order": {      "property1": {        "item_id": "string"      },      "property2": {        "item_id": "string"      }    }  }'
{
  "status": "string"
}
Empty