Delete FHIR resource

DELETE/fhir-provider/{fhir_provider_id}/fhir/{fhir_path}
RequiresBearerauthentication

Header parameters

Path parameters

fhir_provider_idstringrequired
fhir_pathstringrequired
Returns  

Response fields

resourceTypestringoptional
issuearray<object>optional
severitystringoptional
codestringoptional
detailsobjectoptional
textstringoptional
DELETERequest
# Get authentication token
PHENOML_TOKEN=$(curl -X POST "https://experiment.app.pheno.ml/v2/auth/token" \
  -u "$PHENOML_CLIENT_ID:$PHENOML_CLIENT_SECRET" \
  | jq -r '.access_token')

curl -X DELETE "https://experiment.app.pheno.ml/fhir-provider/550e8400-e29b-41d4-a716-446655440000/fhir/Patient" \
  -H "Authorization: Bearer $PHENOML_TOKEN"
200 OKExample Response
{
  "resourceType": "OperationOutcome",
  "issue": [
    {
      "severity": "information",
      "code": "informational",
      "details": {
        "text": "Resource deleted successfully"
      }
    }
  ]
}