Sync
The `hanzo sync` commands.
Also for this capability: API · CLI · MCP · SDKs
Data sync: link two endpoints and keep them in step, on a webhook, on a schedule, or on demand.
hanzo sync listEvery command takes --json for the raw response and --help for its own flags. Sign in once with hanzo auth login; the commands below use that session, and the org they act in is the one it carries.
| Command | What it does |
|---|---|
hanzo sync create | Create declares a sync between two endpoints and returns it. |
hanzo sync list | List returns every sync link the caller's org has, each with its two endpoints, its direction and trigger policy, and… |
get
| Command | What it does |
|---|---|
hanzo sync get <id> | Get returns one sync by id. |
rm
| Command | What it does |
|---|---|
hanzo sync rm <id> | Delete removes one sync and tears down the outbound mirror it derived, answering 204. |
run
| Command | What it does |
|---|---|
hanzo sync run <id> | Run reconciles one sync now — the manual re-sync, and the initial import for a link created without run=true. |
update
| Command | What it does |
|---|---|
hanzo sync update <id> | Patch updates one sync's mutable policy — direction, trigger and actor — in place. |
How is this guide?