Content
Move an item
Move a folder or an item into a folder (or to the top level), before a sibling or at the end. anchor is stale when the sibling you named had moved: the item went to the end.
post/v1/content/items/{id}/move
Request
- Base URLhttps://api.banksync.io
- Auth
- API key in header X-API-Key
- or HTTP bearer
Path parameters
id, string required
Item or folder ID, from the tree
Headers
Idempotency-Key, string
Makes a retry safe: the same key with the same request replays the first answer for 24 hours instead of running twice, and the same key with a different request is a 409 IDEMPOTENCY_KEY_REUSED. Refusals a retry can outlive — 408, 409, 423, 425, 429 and every 5xx — are never replayed, so retrying with the same key after the cause clears runs the request.
Request body
object required
placement, object required
expectedVersion, integer
The version you read; a change since answers 409 CONTENT_VERSION_CONFLICT
Response
The item, moved
object required
success, true required
data, object required
Changes
No recorded changes to this operation across all 6 revisions of this API.