93cc41f2018a

latestOpenAPI 3.0.0GPL-3.0raw.githubusercontent.com2026-08-10215274484.1 KB
sync

Discard local changes for a sync item

Discards local changes and reverts to the version in the remote repository

post/sync/items/{itemId}/discard

Path parameters

itemIdstring required

The sync item identifier (file path without extension)

Query parameters

remoteNodestring

name of the remote node

Response

Changes discarded successfully

messagestring required

Success message