Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-65386

Implement Purge from trash REST API

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • None
    • Space Deletion
    • None
    • 1
    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

    Description

      Hi Team.

      I want to suggest a purge from trash feature implementation due we just have the option to DELETE from content where we are not able to delete all itens that are located at the trash. The DELETE option that we do have now just delete page by page making the purge action only possible using scripts.

      Like: 

      curl -u admin:password -G "http://localhost:8090/rest/api/content?spaceKey=IN&status=trashed" | json_pp | grep -i self | grep -vi space | awk -F \" '\{print $4}' > output
      while read line; do curl -u admin:password -X DELETE "$line"; done < output;rm output

      Thanks in Advance.

      Attachments

        Activity

          People

            Unassigned Unassigned
            fc2f3aa74357 Barbara Diogo (Inactive)
            Votes:
            5 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: