Erasure API
5 operations. Back to the API overview. Examples use synthetic data.
Erasure list
GET /admin/v1/patient-erasures
Needs the permission: patient:erase.
Response 200
| Field | Type | Presence | Description |
|---|---|---|---|
empi_notice | any | optional | - |
erasures | any | optional | - |
notice | any | optional | - |
{
"empi_notice": {},
"erasures": {},
"notice": {}
}Other responses
400Bad Request401Authentication required403Not permitted409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/patient-erasures"Erasure request
POST /admin/v1/patient-erasures
Needs the permission: patient:erase.
Request body
{}Response 202
{
"empi_notice": {},
"id": {},
"notice": {}
}Other responses
400Bad Request401Authentication required403Not permitted409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/patient-erasures"Erasure preview
POST /admin/v1/patient-erasures/preview
Needs the permission: patient:erase.
Request body
{}Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/patient-erasures/preview"Erasure get
GET /admin/v1/patient-erasures/{id}
Needs the permission: patient:erase.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Response 200
{}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request GET \
--header "Authorization: Bearer $ID_TOKEN" \
"https://YOUR-CONSOLE-HOST/admin/v1/patient-erasures/example-id"Restarts a failed erasure at the step that failed
POST /admin/v1/patient-erasures/{id}/retry
Restarts a failed erasure at the step that failed. Audited (database and stdout) before the change commits: fail closed.
Needs the permission: patient:erase.
Parameters
| Name | In | Type | Presence | Description |
|---|---|---|---|---|
id | path | string | required | - |
Request body
{}Response 202
{
"id": {}
}Other responses
400Bad Request401Authentication required403Not permitted404Not Found409Conflict (changed since read, or a state conflict)503Unavailable (nothing was changed)
curl --request POST \
--header "Authorization: Bearer $ID_TOKEN" \
--header "Content-Type: application/json" \
--data '{}' \
"https://YOUR-CONSOLE-HOST/admin/v1/patient-erasures/example-id/retry"Something unclear or missing? Ask Help in the Velacent Bridge console; answers link to the right screen. How support works.