Skip to content

Problem: It does not appear to be possible to delete an AIP via the API #1696

@helrond

Description

@helrond

Please describe the problem you'd like to be solved
I could definitely be missing something here, but it does not appear to be possible to fully delete an AIP via the Storage Service API. I am able to create a request for deletion but it looks like a Storage Service admin still has to approve those requests using the Storage Service GUI. I am finding myself having to delete a large number of AIPs, and this process is both tedious and error-prone, as the possibility of clicking the wrong button seems high.

Describe the solution you'd like to see implemented
If it doesn't already exist, I'd love to have an API endpoint which replicates the functionality of the Package Delete Requests page and allows Storage Service administrators to approve or reject delete requests programatically.

Describe alternatives you've considered
Another alternative could be adding the ability to perform bulk actions in the Package Delete Requests page.

Additional context


For Artefactual use:

Before you close this issue, you must check off the following:

  • All pull requests related to this issue are properly linked
  • All pull requests related to this issue have been merged
  • A testing plan for this issue has been implemented and passed (testing plan information should be included in the issue body or comments)
  • Documentation regarding this issue has been written and merged
  • Details about this issue have been added to the release notes

Metadata

Metadata

Assignees

Labels

APIIssues relating to the Archivematica APIs, bugs/new endpoints, etc.Status: reviewThe issue's code has been merged and is ready for testing/review.Type: featureNew functionality.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions