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 is currently supported only for Google (Gmail) OAuth 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...