# RemoveVariable method

Removes a variable.

Information note **DEPRECATED.**  
This is deprecated and may be removed in a future version.

Use *[DestroyVariableById](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/service-doc-destroyvariablebyid.htm)* method or *[DestroyVariableByName](https://help.qlik.com/en-US/sense-developer/May2025/Subsystems/EngineJSONAPI/Content/service-doc-destroyvariablebyname.htm)* method instead

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qName | Name of the variable. Variable names are case sensitive. | Yes | String |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qReturn | &lt;true/false&gt;<br><br>Information noteThe operation is successful if qReturn is set to true. | Boolean |

## Access Control

`update`