Forums

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

we trying to  identify private spaces associated with people who have left the company regardless of

vasanth
Contributor
April 29, 2025

we trying to  identify private spaces associated with people who have left the company regardless of date.

2 answers

0 votes
Stephen Deutsch
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.
May 5, 2025

Could you be more specific about what you mean about private spaces?

Do you mean one of the following?

  • Personal spaces
  • Spaces which only the former employee has access to
  • Spaces for which the former user is set as owner
0 votes
Bert Dombrecht
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.
April 29, 2025

Hello @vasanth ,

You could use the rest API: https://YOURDOMAIN/wiki/api/v2/spaces?type=personal
To get a JSON result of all personal spaces.

Then you can transform the JSON into Excel (there are online tools available).

Then match that with a reference file of people that have left the company (on spaceOwnerId, authorID or name).

I hope this helps.

vasanth
Contributor
April 29, 2025

Hi @Bert Dombrecht 

 

I am using this rest api getting page not found error.

conf.png

Bert Dombrecht
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.
April 30, 2025

Hi Vasanth,

You did replace 'YOURDOMAIN' with the url of your confluence site (yourdomain.atlassian.net) right?

You can find more documentation on the Confluence rest API here: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/#api-spaces-get

vasanth
Contributor
May 5, 2025

@Bert Dombrecht  we are using the Data center , not a cloud.

Bert Dombrecht
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.
May 5, 2025

OK, the tags on this question put me on the wrong foot...

Here's the datacenter API reference: https://developer.atlassian.com/server/confluence/rest/v1000/intro/#about

I believe you'd need to use this: https://developer.atlassian.com/server/confluence/rest/v1000/api-group-space/#api-rest-api-space-get with parameter ?type=personal

But I'll not be able to help you any further with Data center I'm afraid.

Like vasanth likes this

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