# lol.dids.admin.setTileState

> Published by [ngerakines.me](https://lexicon.garden/identity/did:plc:cbkjy5n7bk3ax2wplmtjofq2)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.setTileState)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.setTileState/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cbkjy5n7bk3ax2wplmtjofq2/lol.dids.admin.setTileState/examples)

## Definitions

### `lol.dids.admin.setTileState`

**Type**: `procedure`

Suspend or unsuspend a tile: a suspended tile takes no new bindings and no new versions, and the snapshots already serving keep serving.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes |  |
| `state` | `string` | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `tile` | `ref` → `lol.dids.defs#tileView` | Yes |  |

## Raw Schema

```json
{
  "id": "lol.dids.admin.setTileState",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "state"
          ],
          "properties": {
            "uri": {
              "type": "string",
              "format": "at-uri"
            },
            "state": {
              "type": "string",
              "knownValues": [
                "suspended",
                "active"
              ]
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "tile"
          ],
          "properties": {
            "tile": {
              "ref": "lol.dids.defs#tileView",
              "type": "ref"
            }
          }
        },
        "encoding": "application/json"
      },
      "description": "Suspend or unsuspend a tile: a suspended tile takes no new bindings and no new versions, and the snapshots already serving keep serving."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
