Skip to main content

Reindex a resource

Reindex a stored resource to rebuild its searchable fields. This operates on one resource ID at a time and does not change the resource's clinical content.

MethodPath
POST/fhir/R4/:type/:id/$reindex

Request​

curl --request POST \
--url "https://api.sandbox.ovok.com/fhir/R4/Patient/${PATIENT_ID}/\$reindex" \
--header "Authorization: Bearer ${OVOK_TOKEN}"
Path valueDescription
:typeFHIR resource type.
:idID of the stored resource to reindex.

Response​

HTTP statusMeaning
200 OKReindex request completed. The operation has no response resource body.
404 Not FoundThe resource does not exist or is not visible to the caller.

The path includes both the resource type and ID: /fhir/R4/:type/:id/$reindex.