Ana içeriğe geç

Stop an email channel's history sync for good

DELETE 

/api/inbox/channels/:channel/history-sync

STOP: a queued, running, paused or failed run becomes cancelled and its cursor and page offset are CLEARED, so it cannot be resumed (use pause for that). The counters stay, for the final numbers. The worker sees the stop at the next page boundary. A run that already ended (idle, completed, cancelled) is returned unchanged. Authorisation: see MailHistorySync.can_manage.

Request​

Responses​

The record after stopping.