# place.hud.revokeAppEntries

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

- Kind: procedure
- Authority: hud.place
- Lexicon: 1
- Published by [lexicons.hud.place](https://lexicon.garden/identity/did:plc:3tzbz4pml36u4mkresb6pdhv), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.revokeAppEntries)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.revokeAppEntries/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.revokeAppEntries/analytics)

## Procedure (`place.hud.revokeAppEntries`)

Type: procedure · POST

### Input (application/json)

- `app` (string · at-uri, required): The app's place.hud.app record.

### Output (application/json)

- `allowedApps` (array, required): Every app the person allows to save entries, the latest first.
  - `items` (ref)
    - Reference: `place.hud.defs#allowedApp`

### Errors

- `NotFound`: No app there: its record can't be read (to allow it), or its author's account can't be found.
- `InvalidRequest`: The input is not what the method takes, or the server could not keep it.
- `AuthRequired`: No live web session or HUD access token: sign in.

## Schema

```json
{
  "$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
}
```
