# buzz.bookhive.updateList

> Published by [bookhive.buzz](https://lexicon.garden/identity/did:plc:enu2j5xjlqsjaylv3du4myh4)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.updateList)
- [Documentation](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.updateList/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:enu2j5xjlqsjaylv3du4myh4/buzz.bookhive.updateList/examples)

## Definitions

### `buzz.bookhive.updateList`

**Type**: `procedure`

Update an existing book list.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` | Yes | AT-URI of the list to update |
| `name` | `string` | No | New name for the list |
| `tags` | `array` | No | New tags |
| `ordered` | `boolean` | No | Whether the list is ordered |
| `description` | `string` | No | New description |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` | Yes |  |
| `uri` | `string` | Yes |  |

## Raw Schema

```json
{
  "id": "buzz.bookhive.updateList",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "uri"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "description": "AT-URI of the list to update"
            },
            "name": {
              "type": "string",
              "maxLength": 100,
              "minLength": 1,
              "description": "New name for the list"
            },
            "tags": {
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 50
              },
              "description": "New tags"
            },
            "ordered": {
              "type": "boolean",
              "description": "Whether the list is ordered"
            },
            "description": {
              "type": "string",
              "maxLength": 500,
              "description": "New description"
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "cid"
          ],
          "properties": {
            "cid": {
              "type": "string"
            },
            "uri": {
              "type": "string"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Update an existing book list."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
