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

Changes