# clearStorage

Clean **all** local cached data.

## Input

param Inherited from [standard-object-input](https://open.feishu.cn/document/uAjLw4CM/uYjL24iN/block/api/standard-object-input), no additional extended attributes.

## Output

The parameters of each callback have no additional attributes.

## Sample code

### Sample request
```json
{
  "sourceData":{
          "tab": "api",
          "item": "clearStorage"
  },
    "openDetail": 1, 
    "title": "clearStorage", 
    "list_page_url": "https://applink.feishu.cn/client/block/workplace/open?appId=cli_a00834ec56f8d01b%26blockTypeId=blk_610a40455f800004c32b6bb6%26sourceData=%7B%22tab%22%3A%22api%22%2C%22item%22%3A%22login%22%7D", 
    "min_lk_ver": {
        "pc": "5.10.0", 
        "mobile": "5.11.0"
    },
    "blockEntity": {
        "sourceData": {
            "type": "api",
            "item": "clearStorage",
            "isNew": true
        },
                  "blockID": "mock-block"
    }
}
```

```js
tt.clearStorage({
  success (res) {
    console.log('clearStorage successful call', res.errMsg);
  },
  fail (res) {
    console.log('clearStorage call failed', res.errMsg);
  },
  complete (res) {
    console.log('clearStorage call ends', res.errMsg);
  }
});
```

### Sample response

```json
{
  "errMsg": "clearStorage:ok"
}
```