# Selection.clearSelection
Clears the selection for the specified doc, which is called asynchronously.

## Availability description

Permission requirements | View Available Description | Platform is available | scene
---|---|---|---
Readable | All views | - PC<br>- Mobile | Presentation mode

## Input

Specify the reference of doc
| **Name** | **data type**                                                                                                                                  | **Is required** | **Description**              |
| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | --------------- | ---------------------------- |
| docRef   | [DocumentRef](https://open.feishu.cn/document/uAjLw4CM/uYjL24iN/docs-add-on/05-api-doc/basic-data-reference---base/DocumentRef) | Yes             | Specify the reference of doc |

## Output

No

## Example code

### Calling example

```js
const DocMiniApp = new BlockitClient().initAPI();
const docRef = await DocMiniApp.getActiveDocumentRef();
const selection = await DocMiniApp.Selection.clearSelection(docRef)
```