--- sidebar_position: 5 --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; # Get space usage data Gets information on the amount of used disk space `Function GetSpaceUsageData(Val Token) Export` | Parameter | CLI option | Type | Required | Description | |-|-|-|-|-| | Token | --token | String | ✔ | Token | Returns: Map Of KeyAndValue - serialized JSON response from Dropbox
```bsl title="1C:Enterprise/OneScript code example" Token = "sl.CAirrApMP3MmqfxAgYhlitMkH3J7CmcSnaOjCUghRVLtFIhPZ0jzduJbWPea8qBaOeeB-L_PZ6..."; Result = OPI_Dropbox.GetSpaceUsageData(Token); ``` ```bash oint dropbox GetSpaceUsageData \ --token "***" ``` ```batch oint dropbox GetSpaceUsageData ^ --token "***" ``` ```json title="Result" { "used": 1477704605, "allocation": { ".tag": "individual", "allocated": 2147483648 } } ```