Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

jan_hrncir
New Contributor

.NET SDK Delete stream

Hi all,

do you know if it is possible to delete streams using .NET SDK?

I wrote this console app to delete Qlik apps.

foreach (IAppIdentifier appIdentifier in location.GetAppIdentifiers())

            {

                if (foundAppIdentifier != null)

                {

                    bool DeleteApp = location.Delete(foundAppIdentifier);

                }

            }

Problem is that I want to delete stream with all the apps belonging to that stream.

Is it possible to delete stream with all the apps? I want to automate this.

Thanks. 

1 Reply
Employee
Employee

Re: .NET SDK Delete stream

This thread covers the topic of how to access the stream information of an app through the SDK:

Gettting the stream an app is published to .net SDK

I'm pretty sure you can't delete the actual stream through the SDK though. The SDK is a wrapper for the Engine API and that API concerns primarily apps and their contents, not their context. To to CRUD operations on streams, you should look into the Repository API (REST based):

Qlik Sense Repository Service API ‒ Qlik Sense Developers

To list the streams, I believe you should do something like this:

GET /qrs/stream

Working with entities ‒ Qlik Sense Developers

Community Browser