The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Some pages can not be updated with the rest api PUT command

Yeting Dong
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 22, 2024

Dear community,

I tried to update the content of my Confluence page with the rest api 

self.request.request(PUT, '/rest/api/content/{}'.format(page_id), data).

However, using the same command and the same data block, some of the confluence page can be updated successfully. But the others will fail and return False.

I am wondering if there is any restriction issue I need to resolve. Any help will be apprecated. Thanks!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Fabio Racobaldo _Catworkx_
Community Champion
April 23, 2024

Hi @Yeting Dong  and welcome,

please verify that user that performs that action has edit permission for those pages (space edit permission - no editing restriction at page level).

Hope this helps,

Fabio

TAGS
AUG Leaders

Atlassian Community Events