# place.hud.deleteApp

> Delete one of the person's own place.hud.app records by its key. Its page then answers not found; the entries it saved stay in their authors' repositories. 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.deleteApp)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.deleteApp/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:3tzbz4pml36u4mkresb6pdhv/place.hud.deleteApp/analytics)

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

Type: procedure · POST

### Input (application/json)

- `rkey` (string, required): The app's record key, its address's last part: 1 to 64 of a-z, 0-9 and -.
  - Constraints: minLength: 1, maxLength: 64

### Output (application/json)


### Errors

- `InvalidRequest`: The input is not what the method takes.
- `AuthRequired`: No live web session or HUD access token, or the person's sign-in at their PDS ended: sign in.
- `UpstreamFailure`: Their PDS refused the delete; or they signed in before HUD asked to delete apps: sign in again.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Delete one of the person's own place.hud.app records by its key. Its page then answers not found; the entries it saved stay in their authors' repositories. 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": "The input is not what the method takes.",
          "name": "InvalidRequest"
        },
        {
          "description": "No live web session or HUD access token, or the person's sign-in at their PDS ended: sign in.",
          "name": "AuthRequired"
        },
        {
          "description": "Their PDS refused the delete; or they signed in before HUD asked to delete apps: sign in again.",
          "name": "UpstreamFailure"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "rkey": {
              "description": "The app's record key, its address's last part: 1 to 64 of a-z, 0-9 and -.",
              "maxLength": 64,
              "minLength": 1,
              "type": "string"
            }
          },
          "required": [
            "rkey"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Delete a frame app the person published.",
  "id": "place.hud.deleteApp",
  "lexicon": 1
}
```
