> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/methods/closewhiteboard.md).

# closeWhiteboard()

Closes the concrete whiteboard. If no id is specified, it just closes the current opened one.

If the whiteboard is already closed, then nothing will happen.

```javascript
//Closes the current locally opened whiteboard
sambaFrame.closeWhiteboard();

//Closes a concrete whiteboard
sambaFrame.closeWhiteboard('c0771004-c9fc-4308-be4f-6264d8e486af');
```

**Sample use case**: \
You may have a button in your application to control the whiteboard visibility.

Used in conjunction with [openWhiteboard().](/reference/sdk/methods/openwhiteboard.md)
