DELETE /v1/patients/\{id\}
Service: patient-graph · operationId: (none)
Hard-delete a patient and all patient-graph-owned records for GDPR erasure
Required scopes
(no scope declared — review service config)
Path parameters
id(string) required —
Responses
200 Patient data erased or already absent
{
"type": "object",
"properties": {
"status": {
"type": "string",
"enum": [
"deleted",
"not_present"
]
},
"rows_affected": {
"type": "object",
"additionalProperties": {
"type": "integer"
}
}
},
"required": [
"status",
"rows_affected"
]
}403 Forbidden
{
"type": "object",
"properties": {
"error": {
"type": "string"
},
"message": {
"type": "string"
}
},
"required": [
"error",
"message"
]
}Example
curl -X DELETE https://patient-graph.platform.loop.health/v1/patients/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN"Related
services/patient-graph— service overview- All endpoints — directory across services
- Auth model — how scopes are enforced