Abort a backfill job
POST/v1/:mailerID/backfill/:jobId/abort
Cancels an in-flight 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. Backfill is currently supported only for Google (Gmail) OAuth IMAP mailboxes.
Request
Path Parameters
mailerID stringrequired
Mailer ID
jobId stringrequired
Backfill Job ID
Responses
- 200
- 400
- 404
- 409
Backfill cancelled
- application/json
- Schema
- Example (from schema)
Schema
jobId string
status string
success boolean
{
"jobId": "01JC3BBW8S9YGX2VNKG5MD7BTA",
"status": "cancelled",
"success": true
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Job not found
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Job already finished
- application/json
- Schema
- Example (from schema)
Schema
error string
success boolean
{
"error": "string",
"success": false
}
Loading...