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

How to set or remove permission to a space, user, group or a content using rest API call?

Sourav Manna May 22, 2023

Hi all,

Could you please help me with the solution or the guidance, how to set or remove permission to a space, user, group or a content using rest API call?

 

 

Thanks,

Sourav

2 answers

0 votes
Andrey Ivanov February 20, 2024

Hi. This topic is actual for me as well.

Unfortunately the link provided as a link to documentation, is a link to this community thread itself.

Also, the initial question related to permissions, not restrictions.

The documentation for adding and removing permissions is here:

https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-space-permissions/#api-wiki-rest-api-space-spacekey-permission-post

There is a delete method as well and at least adding permissions works for us.

0 votes
marc -Collabello--Phase Locked-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 22, 2023

Hi @Sourav Manna ,

My recommendation is to start with the documentation: https://community.atlassian.com/t5/Confluence-questions/How-to-set-or-remove-permission-to-a-space-user-group-or-a/qaq-p/2366801 . First get the page restrictions, then change them in the UI, then get them again and compare. This is one way to learn.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events