Pause an email channel's history sync
POST/api/inbox/channels/:channel/history-sync/pause
PAUSE: a queued/running run becomes paused. The cursor, page offset and counters are kept, so POST /history-sync {resume: true} continues from the same message. The worker stops at the next page boundary. Authorisation: see MailHistorySync.can_manage.
Request
Responses
- 200
- 401
- 403
- 404
- 409
- 422
The record after pausing.
Not authenticated. code: account_disabled means the member's seat was deactivated in this workspace: the session is over even though the token was not revoked (clients sign out and clean up).
Authenticated but not allowed.
Resource not found (or not visible to the current tenant).
Nothing to pause — the run is not queued or running.
Not an email channel.