# DeleteApp method

Deletes an app from the Qlik Sense repository or from the file system.

#### Qlik Sense Enterprise

In addition to being removed from the repository, the app is removed from the directory as well: *&lt;installation\_directory&gt;\Qlik\Sense\Apps* The default installation directory is *ProgramData*.

#### Qlik Sense Desktop

The app is deleted from the directory *%userprofile%\Documents\Qlik\ \Apps*.

Information note

The operation is successful if **qSuccess** is set to true.

#### Logs

When this method is called, audit activity logs are produced to track the user activity. In the case of errors, both audit activity logs and system services logs are produced. The log files are named as follows:

| Audit activity log | System service log |
| --- | --- |
| &lt;MachineName&gt;AuditActivityEngine.txt in Qlik Sense Enterprise &lt;MachineName&gt;AuditActivityEngine.log in Qlik Sense Desktop | &lt;MachineName&gt;ServiceEngine.txt in Qlik Sense Enterprise &lt;MachineName&gt;ServiceEngine.log in Qlik Sense Desktop |

#### Where to find the log files

The location of the log files depends on whether you have installed Qlik Sense Enterprise or Qlik Sense Desktop.

| Qlik Sense Enterprise | Qlik Sense Desktop |
| --- | --- |
| %ProgramData%/Qlik/Sense/Log/Engine | %UserProfile%/Documents/Qlik/Sense/Log |

## Parameters

| Name | Description | Mandatory | Type |
| --- | --- | --- | --- |
| qAppId | Identifier of the app to delete.<br>In Qlik Sense Enterprise, the identifier of the app is a GUID in the Qlik Sense repository.<br>In Qlik Sense Desktop, the identifier of the app is the name of the app, as defined in the apps folder *%userprofile%\Documents\Qlik\Sense\Apps*. | Yes | String |

## Returns

| Name | Description | Type |
| --- | --- | --- |
| qSuccess | true | Boolean |

## Access Control

`delete`

## See also

[Delete an app](https://help.qlik.com/en-US/sense-developer/May2025/csh/engineapi/delete-app)