# ink.resenha.notification.updatePreferences

> Requires the caller's service token.

- Kind: procedure
- Authority: notification.resenha.ink
- Lexicon: 1
- Published by [resenha.ink](https://lexicon.garden/identity/did:plc:v7itjf4h3sb5zuegiiskctqb), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.notification.updatePreferences)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.notification.updatePreferences/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:v7itjf4h3sb5zuegiiskctqb/ink.resenha.notification.updatePreferences/analytics)

## Procedure (`ink.resenha.notification.updatePreferences`)

Type: procedure · POST

### Input (application/json)

- `likes` (string, required)
  - Constraints: default: "everyone", knownValues: everyone | following | off

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Requires the caller's service token.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "likes": {
              "default": "everyone",
              "knownValues": [
                "everyone",
                "following",
                "off"
              ],
              "type": "string"
            }
          },
          "required": [
            "likes"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "description": "Chooses whose likes and quotes are pushed to the caller's devices.",
  "id": "ink.resenha.notification.updatePreferences",
  "lexicon": 1
}
```
