Revoke lab access to a patient
Revoke a lab's effective access while retaining grant and revocation audit evidence. Under partnership-wide sharing this creates a per-patient exclusion. Active and suspended partnership epochs are supported. Clinic only.
Revoke a lab's effective access while retaining grant and revocation audit evidence. Under partnership-wide sharing this creates a per-patient exclusion. Active and suspended partnership epochs are supported. Clinic only.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
Patient ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X DELETE "https://example.com/patients/550e8400-e29b-41d4-a716-446655440000/lab-access" \ -H "Content-Type: application/json" \ -d '{ "labId": "string" }'{ "success": true}Paginated patient list GET
Retrieve a paginated list of patients with order counts. Labs see patients from partnered clinics (respecting share-all-patients and lab access settings). Clinics see only their own. Supports search, sorting, and clinic filtering.
Search patients (autocomplete / combobox) GET
Search patients with fuzzy matching for autocomplete/combobox use. Labs see patients from partnered clinics (respecting share-all-patients and lab access settings). Clinics see only their own patients. Anonymized patients are masked for labs.