Revoke a grant (patient)
Revoke an active or pending grant. The clinician immediately loses access. The patient can revoke any grant on their data; the clinician holding a grant may also end it.
Authorization
HTTPBearer AuthorizationBearer <token>
In: header
Header Parameters
x-api-key?string|null
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/v1/grants/revoke" \ -H "Content-Type: application/json" \ -d '{ "grant_id": "a3c1da8e-13c6-4cab-955b-2120b58c2982" }'null{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string" } ]}Mark a heart event as reviewed (clinical) POST
Acknowledges a cardiac event so it stops surfacing as unreviewed in insights/alerts. Requires the same `heart_data` grant as reading heart events.
Users
Current-user profile, role assignment (admin only), and profile updates (timezone, locale, DOB, clinical specialty).