Deletes a data file from a Qlik Cloud space, immediately and without a confirmation prompt. Nothing is downloaded first — if you want a copy of the file, take it with QOps-ExportFile before removing it.
Needs Qlik Cloud. Run against a Qlik Sense or QlikView configuration, the command reports that data files are supported only in Qlik Cloud mode and stops without doing anything.
See also QOps-ExportFile for taking a copy before you delete and QOps-ImportFile for putting a file into the space.
A refusal is now explained instead of returning the silence that looks like a search with no matches — the run says why it declined.
Syntax
QOps-RemoveFile -Space [Space] -File [File] [-QlikPath [QlikPath]] [-Profile] [-Verbose]
-Space specifies the Qlik Cloud space holding the data files. Required. The space is found by name; the API key you are configured with has to be a member of it.
-File specifies the data file in the space to delete, an exact name or a wildcard. Required. A space can hold folders, and -File looks through all of them: old-*.qvd finds a matching file inside a folder as well as one at the top. Nothing matching is not an error: the command says what it searched for and how many data files the space holds, and returns nothing. Given that this command deletes, that distinction is worth reading before you widen the pattern.
-QlikPath specifies the folder inside the space to delete in, written with / or \, relative to the space. Optional. Named, nothing outside that folder is touched, and -File may be the plain file name. The folder you name includes everything under it: -QlikPath archive -File sales.qvd selects archive/sales.qvd and archive/2025/sales.qvd. Name the deepest folder you mean when you want only that one. This is the flag that decides how far a wildcard reaches: without it, a pattern reaches every folder in the space.
-Profile overrides default User Profile with the specified one
-VerboseLog enables full verbose output including complete API response dumps and debug information. By default, QOps now produces concise output summaries.
Examples
QOps-RemoveFile -Space Sales -File old-customers.qvd
QOps-RemoveFile -Space Sales -File old-*.qvd
QOps-RemoveFile -Space Sales -QlikPath archive/2025 -File old-*.qvd