[{"data":1,"prerenderedAt":7},["ShallowReactive",2],{"docs-note\u002Fcollections\u002Fmove":3,"docs-tabs-note\u002Fcollections\u002Fmove":6},{"content":4,"lastmod":5},"## Reorder a knowledge base\n\n`POST \u002Fv1\u002Fnote\u002Fcollections\u002F:id\u002Fmove`\n\n> **This method is rolling out in Bitrix24 update `note 26.500.0`.** If the method is not yet available on your Bitrix24 account, the API returns `422 METHOD_NOT_YET_AVAILABLE` with `error.release`. Calls work normally on accounts where the method is available.\n\nChanges the order for the entire Bitrix24 account. If position is omitted or null, the collection is placed last. The stored weight is recomputed from neighbours, so it can differ from the request.\n\nRequires the note scope and a key with write access. Archived collections are read-only. Permissions are enforced by Bitrix24.\n\n## Parameters\n\n| Parameter | Type | Required | Description |\n|---|---|---|---|\n| `id` (path) | integer | yes | Knowledge base identifier. List: [`GET \u002Fv1\u002Fnote\u002Fcollections`](\u002Fdocs\u002Fnote\u002Fcollections\u002Flist) |\n| `position` (body) | integer \u002F null | no | Signed safe integer. Omitted or null: last position. |\n\n## Examples\n\n### curl — personal key\n\n```bash\n\ncurl -X POST https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnote\u002Fcollections\u002F33\u002Fmove \\\n  -H \"X-Api-Key: YOUR_API_KEY\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"position\": -10}'\n\n```\n\n### curl — OAuth application\n\n```bash\n\ncurl -X POST https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnote\u002Fcollections\u002F33\u002Fmove \\\n  -H \"X-Api-Key: YOUR_APP_KEY\" \\\n  -H \"Authorization: Bearer USER_SESSION_TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"position\": -10}'\n\n```\n\n### JavaScript — personal key\n\n```javascript\n\nconst response = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnote\u002Fcollections\u002F33\u002Fmove', {\n  method: 'POST',\n  headers: { 'X-Api-Key': 'YOUR_API_KEY', 'Content-Type': 'application\u002Fjson' },\n  body: JSON.stringify({\"position\": -10}),\n})\nconst result = await response.json()\nif (!response.ok) throw new Error(result.error.message)\nconsole.log(result.data)\n\n```\n\n### JavaScript — OAuth application\n\n```javascript\n\nconst response = await fetch('https:\u002F\u002Fvibecode.bitrix24.com\u002Fv1\u002Fnote\u002Fcollections\u002F33\u002Fmove', {\n  method: 'POST',\n  headers: { 'X-Api-Key': 'YOUR_APP_KEY', 'Content-Type': 'application\u002Fjson', 'Authorization': 'Bearer USER_SESSION_TOKEN' },\n  body: JSON.stringify({\"position\": -10}),\n})\nconst result = await response.json()\nif (!response.ok) throw new Error(result.error.message)\nconsole.log(result.data)\n\n```\n\n## Response fields\n\n| Field | Type | Description |\n|---|---|---|\n| `success` | boolean | `true` |\n| `data` | object | [GET \u002Fv1\u002Fnote\u002Fcollections\u002F:id](\u002Fdocs\u002Fnote\u002Fcollections\u002Fget) |\n\nThe response is read back after the move. If the read fails, the change may already have been saved: read the object before retrying.\n\n## Response example\n\n```json\n\n{\n  \"success\": true,\n  \"data\": {\n    \"id\": 33,\n    \"name\": \"Sales team policies\",\n    \"position\": 50,\n    \"policyLevel\": \"private\",\n    \"accessLevel\": \"full\",\n    \"isArchived\": false,\n    \"createdBy\": 1373,\n    \"createdAt\": \"2026-10-02T19:43:23Z\",\n    \"updatedBy\": 1373,\n    \"updatedAt\": \"2026-10-02T19:43:24Z\",\n    \"markdownDescription\": null\n  }\n}\n\n```\n\n## Error response example\n\n400 — invalid path id:\n\n```json\n\n{\n  \"success\": false,\n  \"error\": {\n    \"code\": \"INVALID_PARAMS\",\n    \"message\": \"id must be a positive integer\"\n  }\n}\n\n```\n\n## Errors\n\n| HTTP | Code | Condition |\n|---|---|---|\n| 400 | `INVALID_PARAMS` | Invalid id, destination or body. |\n| 401 | `MISSING_API_KEY` | Missing key. |\n| 401 | `TOKEN_MISSING` | No Bitrix24 credentials. |\n| 403 | `SCOPE_DENIED` | `note` |\n| 403 | `WRITE_BLOCKED_READONLY_KEY` | READONLY |\n| 403 | `BITRIX_ACCESS_DENIED` | Bitrix24 access refusal; collection archived. |\n| 404 | `ENTITY_NOT_FOUND` | Object not visible or missing. |\n| 422 | `BITRIX_ERROR` | Cycle, access widening or another business refusal. |\n| 429 | `OPERATION_TIME_LIMIT` | Bitrix24 operation limit. |\n| 502 | `BITRIX_UNAVAILABLE` | Bitrix24 unavailable. |\n| 503 | `BITRIX_TIMEOUT` | Bitrix24 timeout. |\n\n[ All errors ](\u002Fdocs\u002Ferrors)\n\n## See also\n\n- [GET \u002Fv1\u002Fnote\u002Fcollections\u002F:id](\u002Fdocs\u002Fnote\u002Fcollections\u002Fget)\n\n- [Knowledge Base overview](\u002Fdocs\u002Fnote)\n","2026-11-17",{},1795415481594]