Skip to main content
DELETE
/
v1
/
ingestion
/
jobs
/
{job_id}
/
patients
/
{patient_id}
import olira

olira.init(api_key="YOUR_API_KEY")
olira.delete_ingestion_job_patient(job_id="ing-job-001", patient_id="8a4fde23-0f1b-4c2a-9d7e-b36c1a5f0e82")
# Returns None
olira.delete_ingestion_job_patient(job_id: str, patient_id: str) -> None
Requires scope: sdk:historical-ingest Not allowed after confirm.

Parameters

job_id
str
required
Job id in awaiting_confirmation.
patient_id
str
required
Olira patient id to remove from the job.

Returns

None

Raises

ExceptionWhen
AuthErrorHTTP 401 or 403 — invalid API key or insufficient OAuth scope for this endpoint.
ValidationErrorHTTP 400, 404, or 422 — malformed JSON, unknown patient, or validation failure (message includes response excerpt).
ServerErrorHTTP 409 (e.g. conflicting external identifier) or repeated 5xx after retries; includes status_code when applicable.
RateLimitErrorHTTP 429 — rate limited; check retry_after (seconds).
NetworkErrorConnection timeout, DNS failure, or read error after retries.
import olira

olira.init(api_key="YOUR_API_KEY")
olira.delete_ingestion_job_patient(job_id="ing-job-001", patient_id="8a4fde23-0f1b-4c2a-9d7e-b36c1a5f0e82")
# Returns None