Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
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
Stefan_Walther
Employee
Employee

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

View solution in original post

9 Replies
Stefan_Walther
Employee
Employee

Did you try

Method: DEL

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


In your case type would then be "task".

Not applicable
Author

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





Stefan_Walther
Employee
Employee

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
Author

will do. Thanks!

Alexander_Thor
Employee
Employee

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

Stefan_Walther
Employee
Employee

Alexander_Thor
Employee
Employee

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
Author

Thanks!

Sergey_Despot
Contributor III
Contributor III

mothod: DELETE

/qrs/reloadtask/<task.id>

response:  null ,if ok