# club.hellyeah.account.setNotify

> Turns the one invites email on or off. It needs an email, and counts once the email is confirmed.

- Kind: procedure
- Authority: account.hellyeah.club
- Lexicon: 1
- Published by [hellyeah.club](https://lexicon.garden/identity/did:plc:ce2gpmv3q5a4xlnpt63e4nsn), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:ce2gpmv3q5a4xlnpt63e4nsn/club.hellyeah.account.setNotify)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:ce2gpmv3q5a4xlnpt63e4nsn/club.hellyeah.account.setNotify/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:ce2gpmv3q5a4xlnpt63e4nsn/club.hellyeah.account.setNotify/analytics)

## Procedure (`club.hellyeah.account.setNotify`)

Type: procedure · POST

### Input (application/json)

- `notify` (boolean, required)

### Output (application/json)

- `account` (ref, required)
  - Reference: `club.hellyeah.defs#accountView`

### Errors

- `NeedsEmail`: No description in schema.
- `AlreadySent`: No description in schema.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Turns the one invites email on or off. It needs an email, and counts once the email is confirmed.",
      "errors": [
        {
          "name": "NeedsEmail"
        },
        {
          "name": "AlreadySent"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "notify": {
              "type": "boolean"
            }
          },
          "required": [
            "notify"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "account": {
              "ref": "club.hellyeah.defs#accountView",
              "type": "ref"
            }
          },
          "required": [
            "account"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "club.hellyeah.account.setNotify",
  "lexicon": 1
}
```
