/collection/imports/{id}/cancelAn import that is queued, matching or waiting for review is cancelled at once, and nothing is added. One that is importing stops after the rows it’s writing: it completes with the rest skipped, and what it added can be undone as usual. An import that has ended answers 409.
collector.cancelCollectionImport()collection:writeX-Request-Ididstring (uuid)required200OKThe import, cancelled or stopping.
object
unauthorized: Not signed in (no session or token, or an expired one).
not_found: Nothing at that address.
import_not_found: No import of yours with that id.
import_finished: The import has already ended.
rate_limitedtemporarily_blocked
rate_limited: Over the caller’s limit: the per-minute burst or the per-day quota (RateLimit headers; wait Retry-After seconds).
temporarily_blocked: Too many refused requests in a row: blocked for a while (Retry-After says how long).
internal: Something went wrong on our side (quote the requestId).
not_migrated: The database update this needs isn’t applied yet.