Pause or resume a calendar sync
set_sync_pausedSets whether one of the user's own syncs is paused. This sets a state; it does not toggle one, so asking to pause an already paused sync leaves it paused (changed: false). Both directions of a two-way sync are affected together. Pausing keeps existing copies in the target calendar and only stops further syncing; it never deletes anything. Resuming lets the sync update and remove its copies again as source events change.
Only syncs into calendars released for syncs (sync_target) can be paused or resumed here, and a sync that was paused because of the plan, a missing calendar or an update cannot be resumed here. Use a ref from a current list_syncs result. Costs no credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | A ref from a current list_syncs result, e.g. sync_2 | |
| paused | Yes | true = paused, false = running |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| legs | Yes | ||
| paused | Yes | ||
| changed | Yes |