Forums

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

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

Sourav Manna
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!
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
Contributor
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 Champion
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
Product Admin
TAGS
AUG Leaders

Atlassian Community Events