health.hats.revokeAccess
End every grant the caller has given one grantee. The space host asks the coordinator before issuing each space credential, so the grantee gets no new credential from then on; a credential already issued lasts until it expires. Authenticated as the patient (service auth).
Details · procedure
| Kind | procedure |
|---|---|
| Authority | hats.health |
| Indexed |
Procedure
procedure · POSTInput
application/jsonWhose access to end: a clinician's or institution's DID.
Output
application/jsonHow many space grants ended.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
health.hats.institution.leaveRole
procedureA clinician leaves an institution: their role there ends now. It's their own act, honored at once, since giving up a role only removes access; an administrator revokes the role credential after. The institution's node writes the ended PractitionerRole and a Provenance naming the clinician. Authenticated as the clinician (service auth).
-
health.hats.institution.endRole
procedureAn administrator ends someone's role at their institution, when the person didn't choose to go, or records a leaving by revoking the credential. The node writes the ended PractitionerRole, pointing its forward where the administrator says, and a Provenance naming the administrator. Authenticated as the administrator (service auth), who must hold institution.administrator there.
-
pub.chive.governance.revokeRole
procedureRevoke a user's governance role. Only accessible to administrators. Also revokes any active delegation.
-
Grants the caller gave, as a patient, and grants the caller holds, as a grantee: one entry per request, newest first. Authenticated by service auth, so each caller sees only their own.
-
zone.stratos.admin.removeAdmin
procedureRevoke admin access from a DID. Config-provided admins cannot be revoked here, and an admin cannot revoke their own access.