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

0 votes
Fabio Racobaldo _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events