Need to get Space level permission

Sachin Somannavar March 3, 2024

url = "https://api.atlassian.com/ex/confluence/{cloudid}/wiki/api/v2/spaces/{space_id}/permissions"

as per documentation this is the url url = "https://{your-domain}/wiki/api/v2/spaces/{id}/permissions"

getting 

{'code': 401, 'message': 'Unauthorized; scope does not match'}

I have used the same domain for other requests it is working , but  for getting space level permission getting above error 

 

Used this for getting space list https://api.atlassian.com/ex/confluence/{cloudid} /rest/api/space' and it gives all the space list

2 answers

1 vote
Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 3, 2024

Hi @Sachin Somannavar 

  • You can't set space level permissions on Free Confluence.
    If you need permissions to control workflows and approvals, there are apps for that.
  • You can't make a space available for anonymous access (there are apps that can do that by building a static website for you)
Sachin Somannavar March 3, 2024

I am able to get page level permission and getting attachments , but space level permission only not able to get 

 

I have created Oauth2.0 app for accessing the confluence cloud 

 

Can you please let me know , what I am missing here

Kristian Klima
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 3, 2024

You're not missing anything, space permissions are not supported on the Free plan.2024-03-03_11-11-14.png

Sachin Somannavar March 3, 2024

Its quite strange I am able to get page level permission , like which user has whether edit or view access on the page and after making the page restitched in the confluence cloud and giving some permission to the particular user there and then through rest api able to see which user has what level of access on the page

0 votes
Sachin Somannavar March 3, 2024

Here above I am using free version confluence cloud FYI

Suggest an answer

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

Atlassian Community Events