---
title: "Move a sync item"
method: POST
path: "/sync/items/{itemId}/move"
tags: ["sync"]
---

# Move a sync item

`POST /sync/items/{itemId}/move`

Atomically renames an item across local filesystem, remote repository, and sync state

## Path parameters

- `itemId` string, required

## Query parameters

- `remoteNode` string

## Request body

- object
  - `newItemId` string, required — The new item identifier to rename to
  - `message` string — Commit message for the move
  - `force` boolean — Force move even if item has conflicts

## Response `200`

Item moved successfully

- SuccessResponse — Generic success response
  - `message` string, required — Success message

## Other responses

- `400` — Item cannot be moved
- `404` — Item not found
- `409` — Conflict detected
- `default` — Unexpected error

## Changes

- **2026-05-24** (v1) `8a2d5d3e9608` — 3 warning
  - added the new `rate_limited` enum value to the `code` response property for the response status `400`
  - added the new `rate_limited` enum value to the `code` response property for the response status `404`
  - added the new `rate_limited` enum value to the `code` response property for the response status `default`
- **2026-04-30** (v1) `50e1d517afc1` — 3 info
  - removed the `rate_limited` enum value from the `code` response property for the response status `400`
  - removed the `rate_limited` enum value from the `code` response property for the response status `404`
  - removed the `rate_limited` enum value from the `code` response property for the response status `default`

[Change history](https://skmtc.dev/dagucloud/apis/dagu/changes/sync/items/:itemId/move/post.md)

---

[API](https://skmtc.dev/dagucloud/apis/dagu.md) · [All operations](https://skmtc.dev/dagucloud/apis/dagu/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/dagucloud/dagu/revisions/162df20bbef8/schema)
