Cancel an in-flight import. The parser stops at its next bounded checkpoint.
DELETE
/api/v1/money/imports/jobs/{job_id}
const url = 'https://example.com/api/v1/money/imports/jobs/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/v1/money/imports/jobs/example \ --header 'Authorization: Bearer <token>'Route: /api/v1/money/imports/jobs/{job_id}. Inputs: job_id. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”job_id
required
string
Caller-generated import job UUID
Responses
Section titled “Responses”Import cancellation requested; missing jobs are already stopped
Job belongs to another User
Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}