Need help get API token for the whole confluence site.

mohan_reddy September 14, 2022

We have number of spaces which are public and personal spaces. Each and every one is able to access them. We are about to perform an operation with REST API where it will help us to make all of those spaces to private. I could find the API token for the whole but for individual user I'm able to. So, could you please help me in getting the token for whole site .

1 answer

0 votes
Oliver Siebenmarck _Polymetis Apps_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 14, 2022

Hi @mohan_reddy ,

For Confluence Cloud – and similarly for Jira Cloud – you only get user-based API tokens. 

So, if you want to perform some action via the REST API with maximum permissions, you will need a user with those permission. Typically, you would either use the account of an admin or a technical account created specifically for this purpose.

In either case, I would strongly recommend revoke such a powerful API token as soon as your operations are finished. 

Hope that helps,
 Oliver

Suggest an answer

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

Atlassian Community Events