# 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().](https://docs.digitalsamba.com/reference/sdk/methods/openwhiteboard)
