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 |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "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).",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"grantee": {
"description": "Whose access to end: a clinician's or institution's DID.",
"format": "did",
"type": "string"
}
},
"required": [
"grantee"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"revoked": {
"description": "How many space grants ended.",
"type": "integer"
}
},
"required": [
"revoked"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "health.hats.revokeAccess",
"lexicon": 1
}