# so.sprk.notification.putPreferences

> Published by [sprk.so](https://lexicon.garden/identity/did:plc:cveom2iroj3mt747sd4qqnr2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.notification.putPreferences)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.notification.putPreferences/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.notification.putPreferences/examples)

## Definitions

### `so.sprk.notification.putPreferences`

**Type**: `procedure`

Set notification-related preferences for an account. Requires auth.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `priority` | `boolean` | Yes |  |

## Raw Schema

```json
{
  "id": "so.sprk.notification.putPreferences",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "priority"
          ],
          "properties": {
            "priority": {
              "type": "boolean"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Set notification-related preferences for an account. Requires auth."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
