Instance-Level Expunge Operation
post
oracle-fhir-server/fhir/Binary/{id}/$expunge
The $expunge operation can be invoked against a single Binary resource instance, or even an individual version of a Binary resource instance. If invoked at the instance level , previous versions of the Binary resource may be deleted (if expungePreviousVersions is set to true) and the current version may be deleted (if the Binary resource is deleted and expungeDeletedResources is set to true).
Request
Path Parameters
-
id(required): string
The resource IDExample:
123
Supported Media Types
- application/fhir+json
FHIR Parameters Resource
Root Schema : schema
Type:
object
FHIR Parameters Resource
Example:
{
"resourceType": "Parameters",
"parameter": [ {
"name": "limit",
"valueInteger": 0
}, {
"name": "expungeDeletedResources",
"valueBoolean": false
}, {
"name": "expungePreviousVersions",
"valueBoolean": false
}, {
"name": "expungeEverything",
"valueBoolean": false
} ]
}
Response
Supported Media Types
- application/fhir+json
200 Response
Success
Root Schema : FHIR-EXPUNGE-RESP-RESOURCE
Type:
object
FHIR Parameters Resource
Example:
{
"resourceType": "Parameters",
"parameter": [ {
"name": "count",
"valueInteger": 0
} ]
}