Qlik Community

Qlik Sense Integration, Extensions, & APIs

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

Not applicable

Delete Task API

Hi

I'm working on a solution similar to 'Loop And Reduce'  QRS REST API.

Reload is done by creating a task and starting it.

At this point the task should be deleted.

I couldn't find the API call for this, but I know it can be done via QMC, so there should be a way.

Any Ideas?

1 Solution

Accepted Solutions
Employee
Employee

Re: Delete Task API

Hi, then I'd consider this as a bug, at least a documentation bug, also cannot find it. I recommend to file it.

Regards

Stefan

8 Replies
Employee
Employee

Re: Delete Task API

Did you try

Method: DEL

Endpoint: /qrs/[type]/{id}


In your case type would then be "task".

Not applicable

Re: Delete Task API

Thanks for the quick response.


/qrs/task/{id}/delete

and

/qrs/task/{id}

did not work.

I got 404 in both cases.

It did however work for deleting an app:

/qrs/app/{id}/delete





Employee
Employee

Re: Delete Task API

Hi, then I'd consider this as a bug, at least a documentation bug, also cannot find it. I recommend to file it.

Regards

Stefan

Not applicable

Re: Delete Task API

will do. Thanks!

Employee
Employee

Re: Delete Task API

It's a bit confusing but use path /qrs/reloadtask/[id] with a delete request instead, that should work.

Employee
Employee

Re: Delete Task API

Employee
Employee

Re: Delete Task API

Ye, the /qrs/task endpoint is to operate on existing /qrs/reloadtasks like starting and stopping stuff. It's not the best naming convention

Not applicable

Re: Delete Task API

Thanks!

Community Browser