# social.grain.unspecced.deleteGallery

> Delete a gallery and all associated records (items, photos, EXIF, favorites, comments).

- Kind: procedure
- Authority: unspecced.grain.social
- Lexicon: 1
- Published by [grain.social](https://lexicon.garden/identity/did:plc:e7rftrdyz5e2rw4y6ocszew2), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.deleteGallery)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.deleteGallery/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.unspecced.deleteGallery/analytics)

## Procedure (`social.grain.unspecced.deleteGallery`)

Type: procedure · POST

### Input (application/json)

- `rkey` (string, required): Record key of the gallery to delete.

### Output (application/json)


## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Delete a gallery and all associated records (items, photos, EXIF, favorites, comments).",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "rkey": {
              "description": "Record key of the gallery to delete.",
              "type": "string"
            }
          },
          "required": [
            "rkey"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "social.grain.unspecced.deleteGallery",
  "lexicon": 1
}
```
