# social.colibri.beta.actor.putMutes

> Published by [colibri.social](https://lexicon.garden/identity/did:plc:mprdjqjluoswa7awzggaggj3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.actor.putMutes)
- [Documentation](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.actor.putMutes/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:mprdjqjluoswa7awzggaggj3/social.colibri.beta.actor.putMutes/examples)

## Definitions

### `social.colibri.beta.actor.putMutes`

**Type**: `procedure`

Pushes the requesting user's mute list to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes the underlying records to its own personal space first, then calls this. This replaces the AppView's whole copy of the user's mute list.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `mutes` | `array` | Yes | The complete, replacement mute list. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `preferences` | `ref` → `social.colibri.beta.actor.defs#preferences` | Yes | The requesting user's settings, after the update. |

#### Errors

- **AuthRequired**: The request has no valid service auth.

## Raw Schema

```json
{
  "id": "social.colibri.beta.actor.putMutes",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "mutes"
          ],
          "properties": {
            "mutes": {
              "type": "array",
              "items": {
                "ref": "social.colibri.beta.actor.defs#mute",
                "type": "ref"
              },
              "description": "The complete, replacement mute list."
            }
          }
        },
        "encoding": "application/json"
      },
      "errors": [
        {
          "name": "AuthRequired",
          "description": "The request has no valid service auth."
        }
      ],
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "preferences"
          ],
          "properties": {
            "preferences": {
              "ref": "social.colibri.beta.actor.defs#preferences",
              "type": "ref",
              "description": "The requesting user's settings, after the update."
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Pushes the requesting user's mute list to the AppView, so it takes effect immediately instead of waiting for a sync notification. The client writes the underlying records to its own personal space first, then calls this. This replaces the AppView's whole copy of the user's mute list."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
