Actions
Story #8554
closedProvide easy task cleanup api
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
Actions
Added bulk-task-purge feature.
closes #8554.