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).

Repository @hats.health did:plc:uvvhtareovj2oaregs7vsibv not from the namespace authority
Details · procedure
Kindprocedure
Authorityhats.health
Indexed
cid bafyreiawokvxlv3yuoeerh7lbuu4pmepi2zgd6iceq2jmts6xoi6hjg4xm

Checks

Valid Lint pass
JSONDownload
{
  "$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
}