Set a connection's automatic-sync preference (manual vs auto)
PATCH/api/v1/user/plugins/:plugin_id/sync-mode
Writes the host-only config._codex.autoSync flag (the plugin never sees
it). When true, the connection is synced automatically on the plugin's
admin-configured cron; when false (the default) syncs run only on demand.
Only allowed for plugins whose manifest declares the user_read_sync
capability.
Request
Responses
- 200
- 400
- 401
- 404
Sync mode updated
Plugin does not support sync
Not authenticated
Plugin not enabled for this user