title: Update a page in Confluence using REST API
body: <p>This is what I've currently got and it creates a new Confluence page. It doesn't update it. Also it posts it in the root space, <code>TST</code>, but I want it to be in <code>TST/space1/subsection2/updateThisPage</code>.</p>
  
  <pre><code>curl -v -u admin:admin -X POST -H Content-Type: application/json -d  "{\"id\":\"123456\",\"type\":\"page\",\"title\":\"new page\",\"space\":{\"key\":\"TST\",\"title\":\"updateThisPage\"},\"body\":{\"storage\":{\"value\":\"&lt;p&gt;This is the updated text for the new page&lt;/p&gt;\",\"representation\":\"storage\"}},\"version\":{\"number\":3}}" http://localhost:8090/rest/api/content?spaceKey=TST&amp;title=updateThisPage
  </code></pre>
  
  <p>This is the error message I get </p>
  
  <pre><code>{"statusCode":400,"message":"A page with this title already exists: A page already exists with the title new page in the space with key TST"}
  </code></pre>
  
  <p>Would it be a permissions error? I know I do not have access to delete. </p>