Skip to main content

Abort a history backfill job

POST 

/v1/imap/:mailerID/history/:jobId/abort

Cancels an in-flight history backfill job. The worker's slice loop stops cleanly at its next iteration, leaving the job in a terminal 'cancelled' state. A job owned by another tenant or an unknown job returns 404; a job already finished (done/failed/cancelled) returns 409. History backfill supports Google (Gmail) and Microsoft (Outlook) OAuth mailboxes and basic username/password IMAP mailboxes.

Request

Path Parameters

    mailerID stringrequired

    Mailer ID

    jobId stringrequired

    History backfill job ID

Responses

History backfill cancelled

Schema

    jobId string
    status string
    success boolean
Loading...