Removing Blood Results

Remove an editable, published blood result for the authenticated User and handle removal responses.

Removing Blood Results

Last substantively updated: October 26, 2026.

Use the blood result removal endpoint to remove a published blood result belonging to the authenticated User. The result must be editable and must not already have been deleted. Removal is a soft delete.

Where This Fits

Use this workflow when your application needs to remove an existing blood result. Eligibility depends on ownership, publication, deletion state, and editability. The endpoint does not explicitly restrict removal to BRU results.

Add Blood Result covers structured result submission. Blood Result Upload covers file upload and processing.

Before You Begin

You need:

  • Customer authentication for the User whose result you are removing. The request example below uses a customer OAuth Bearer token.
  • The blood result's resultId, an integer in int64 format.
  • A published result that belongs to that User, has not already been deleted, and is editable.

Remove A Blood Result

Send a customer-authenticated request with the result ID in the path:

DELETE /api/pages/bloodResults/remove/12345
Authorization: Bearer {customer_access_token}
Accept: application/json

The endpoint is DELETE /api/pages/bloodResults/remove/{resultId}. Replace 12345 with the intended blood result ID. Do not send a request body.

Handle The Response

All responses use application/json.

Successful Removal

A successful removal returns 200 OK:

{
  "message": "Result removed."
}

Update your application's displayed result list after successful removal.

Result Not Found

The endpoint returns 404 Not Found when the result does not exist, is unpublished, has already been deleted, or belongs to another User:

{
  "message": "Result not found"
}

A repeated removal request returns this same 404 response with "Result not found". It does not return the original success response. This response alone does not distinguish an earlier successful removal from the other not-found conditions.

Result Not Editable

When the result exists, is published, belongs to the User, and has not been deleted, but is not editable, the endpoint returns 404 Not Found:

{
  "message": "Result not editable"
}

Handle both documented 404 cases. They share an HTTP status but have different response messages.

Authentication Failure

If customer authentication fails, the endpoint returns 401 Unauthorized:

{
  "status": "error",
  "message": "Access denied"
}

Check customer authentication before retrying.

Implementation Checklist

  • Your request is authenticated as the User whose result is being removed.
  • You send the blood result ID in the path and omit the request body.
  • Your application handles 200 success and both documented 404 messages.
  • Your retry handling accounts for 404 after an earlier successful removal.
  • Your application handles 401 authentication failures.

Related API Reference

  • Remove blood result: DELETE /api/pages/bloodResults/remove/{resultId} in the Blood Results section of the API Reference.

Related Guides


Did this page help you?