+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "updateDatasourcePluginResetOption"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
draft = true
+++
## updateDatasourcePluginResetOption() function
### updateDatasourcePluginResetOption() function
Signature
```typescript
export declare function updateDatasourcePluginResetOption(props: DataSourcePluginOptionsEditorProps, key: string): void;
```
Import
```typescript
import { updateDatasourcePluginResetOption } from '@grafana/data';
```
Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| props | DataSourcePluginOptionsEditorProps
| |
| key | string
| |
Returns:
`void`