# social.grain.group.dismissInvite

> Stop showing a group's invite in Grain: the group is added to the viewer's dismissedInvitesPref, the other preferences left as they are.

- Kind: procedure
- Authority: group.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.group.dismissInvite)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.group.dismissInvite/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:e7rftrdyz5e2rw4y6ocszew2/social.grain.group.dismissInvite/analytics)

## Procedure (`social.grain.group.dismissInvite`)

Type: procedure · POST

### Input (application/json)

- `group` (string · did, required)

### Output (application/json)


## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Stop showing a group's invite in Grain: the group is added to the viewer's dismissedInvitesPref, the other preferences left as they are.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "group"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {},
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Stop showing a group's invite in Grain. Private and Grain's alone: the invite stays with its group, which is told nothing, and the viewer may still take it up by joining. Kept in the viewer's preferences as a dismissedInvitesPref.",
  "id": "social.grain.group.dismissInvite",
  "lexicon": 1
}
```
