# fyi.opensocial.undoTabUpdate

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.undoTabUpdate)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.undoTabUpdate/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.undoTabUpdate/examples)

## Definitions

### `fyi.opensocial.undoTabUpdate`

**Type**: `procedure`

Put a tab back on the version of its template it was on before the host brought a new one in by itself; that one isn't brought in by itself again. Whoever may change the site, for one of its tabs; anyone in a channel for chosen people, for one of its.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `group` | `string` (did) | Yes |  |
| `tab` | `string` | Yes | The tab's namespace. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `version` | `ref` → `com.atproto.repo.strongRef` | Yes | The version it's on now. |

#### Errors

- **NotFound**
- **Forbidden**
- **NothingToUndo**

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Put a tab back on the version of its template it was on before the host brought a new one in by itself; that one isn't brought in by itself again. Whoever may change the site, for one of its tabs; anyone in a channel for chosen people, for one of its.",
      "errors": [
        {
          "name": "NotFound"
        },
        {
          "name": "Forbidden"
        },
        {
          "name": "NothingToUndo"
        }
      ],
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "group": {
              "format": "did",
              "type": "string"
            },
            "tab": {
              "description": "The tab's namespace.",
              "maxLength": 13,
              "type": "string"
            }
          },
          "required": [
            "group",
            "tab"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "version": {
              "description": "The version it's on now.",
              "ref": "com.atproto.repo.strongRef",
              "type": "ref"
            }
          },
          "required": [
            "version"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.undoTabUpdate",
  "lexicon": 1
}
```
