# `hideReplay`

The `hideReplay` option controls whether the **Try it** button appears on WebSocket channels in AsyncAPI documentation.
For example, you can hide the button in your public API docs and keep it visible on your internal site.

**Early access**

This is a feature in early access.
It may not be available for your organization yet, and its behavior may change before general availability.

To request access to this feature, contact our [Support team](mailto:team@redocly.com).

The hideReplay  is not available in Redoc Community Edition.

## Options

| Option | Type | Description |
| --- | --- | --- |
| hideReplay | boolean | Hide the **Try it** button that opens Replay on WebSocket channels. Default: `false`. |

## Examples

The following example hides the **Try it** button on every channel of every AsyncAPI description:

```yaml
asyncapi:
  hideReplay: true
```

The following example hides the button only in the documentation of the `events@v1` API:

```yaml
apis:
  events@v1:
    root: asyncapi/events.yaml
    asyncapi:
      hideReplay: true
```

To hide the button on one channel, use the [`x-hideReplay` extension](/docs/platform/content/api-docs/asyncapi-extensions/x-hide-replay) in the description.

## Resources

- **[Let readers try WebSocket channels](/docs/platform/content/api-docs/try-websocket-channels)** - What your description, servers, and project need for the **Try it** button to connect
- **[x-hideReplay for AsyncAPI](/docs/platform/content/api-docs/asyncapi-extensions/x-hide-replay)** - Hide the **Try it** button on one channel
- **[AsyncAPI configuration](/docs/platform/config/asyncapi)** - All the options you can set under `asyncapi`
- **[Configuration options](/docs/platform/config)** - All the other options for your project
