Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-73670

Not possible to change the body of an old version of a page using REST API

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Page - History
    • None
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

    Description

      Currently, it is not possible to change a body of a historical version of a page or a blog post.
      https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-api-content-id-put
      Error code 409 will be returned.

      Why it is important:
      1. As a company, we would like to find and clean sensitive content in our Cloud products.
      2. Using REST API and some search patterns, we've found that some page has not allowed content (let's say some SSN or email or customer name), not in a current version, but in one of historical versions.
      3. We would like to change this particular historical (old) version of a page.
      4. When we try to use PUT /wiki/rest/api/content/{id} (https://developer.atlassian.com/cloud/confluence/rest/api-group-content/#api-api-content-id-put) "409 error" returned.

       

      We would like to suggest allowing space administrators to use "PUT /wiki/rest/api/content/{id}" REST endpoint to change content of old versions the same way as current versions. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            1d96c0e9119b Andrei Pisklenov [Actonic]
            Votes:
            17 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated: