{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Take back the person's allowing one frame app to save entries: place.hud.createAppEntry then refuses it until they allow it again. Entries it saved stay in their repository. Requires auth: the workspace's web session (its cookie, with X-HUD: 1 and the server's own Origin) or a HUD access token as Bearer.",
      "errors": [
        {
          "description": "No app there: its record can't be read (to allow it), or its author's account can't be found.",
          "name": "NotFound"
        },
        {
          "description": "The input is not what the method takes, or the server could not keep it.",
          "name": "InvalidRequest"
        },
        {
          "description": "No live web session or HUD access token: sign in.",
          "name": "AuthRequired"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "app": {
              "description": "The app's place.hud.app record.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "app"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "allowedApps": {
              "description": "Every app the person allows to save entries, the latest first.",
              "items": {
                "ref": "place.hud.defs#allowedApp",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "allowedApps"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Stop a frame app saving the person's entries.",
  "id": "place.hud.revokeAppEntries",
  "lexicon": 1
}
