Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

About automatic operation of page permissions in confluence

About page permissions in confluence. I want to operate permissions automatically with REST API. In the API, as you do manually with the key mark on the upper right of the page I want to be able to change from "Everyone can view and edit" to "Only some users can view and edit". Is it possible with the REST API?

2 answers

@青山 明  @Pramodh M  Using the Update restrictions endpoint I've managed to change all the page permissions one by one but I haven't succeeded either on change from "everyone can view and edit" to "only some users can view and edit" with the REST API. Did you find a solution already ? 

0 votes
Pramodh M
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 17, 2022

Hi @青山 明 

Here is the reference for Page restrictions API for Confluence

https://developer.atlassian.com/cloud/confluence/rest/api-group-content-restrictions/#api-wiki-rest-api-content-id-restriction-post

Let me know what exactly you are trying to add (user/group) for the permission you have specified.

Thanks,
Pramodh

Instead of adding restrictions, confluence page permissions I want to be able to change from "everyone can view and edit" to "only some users can view and edit" with the REST API. Everyone else except a specific group or individual wants to deny access.

That REST API can't fulfill my request.

@青山 明  @Pramodh M  I haven't succeeded either on change from "everyone can view and edit" to "only some users can view and edit" with the REST API. Did you find a solution already ? 

Not resolved.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events