Project

Profile

Help

Story #8554

closed

Provide easy task cleanup api

Added by jsherril@redhat.com over 3 years ago. Updated almost 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

100%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Quarter:
Q4-2021

Description

Today a user of pulp would have to manually request all tasks using a filter and then manually trigger a delete for each one. It would be much simpler if we could simply call an API and trigger a task that would bulk delete all tasks matching some set of critera such as:

created before some date with states cancelled, completed, skipped

I think somehow using a list query to delete those (such as being able to pass the href /pulp/api/v3/tasks?state__in=completed,skipped) would be pretty slick.


Related issues

Has duplicate Pulp - Story #7513: bulk-delete tasksCLOSED - DUPLICATE

Actions

Also available in: Atom PDF