# app.didpic.actor.putPref

> Published by [lexicons.didpic.app](https://lexicon.garden/identity/did:plc:an2jtp4jgkkbtmwfzhpbxawd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.putPref)
- [Documentation](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.putPref/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:an2jtp4jgkkbtmwfzhpbxawd/app.didpic.actor.putPref/examples)

## Definitions

### `app.didpic.actor.putPref`

**Type**: `procedure`

Write one of the authenticated viewer's preferences.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `kind` | `string` | Yes | Lexicon ref naming the shape of value. |
| `value` | `unknown` | Yes |  |

## Raw Schema

```json
{
  "id": "app.didpic.actor.putPref",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "kind",
            "value"
          ],
          "properties": {
            "kind": {
              "type": "string",
              "description": "Lexicon ref naming the shape of value."
            },
            "value": {
              "type": "unknown"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Write one of the authenticated viewer's preferences."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
