Forums

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

Can I add user or group to New Space When I create space?

JY 김 October 15, 2018

I'd like to add user or group to new space by Rest API (Confluence Server)

When I create space, permission information can be posted as REST api parameter? 
(Rest API document for creating space has parameters only key, name, description, NOT permission)

Or after creating, can I add user or group to new space by using REST api? 

Thanks. 

ps. RPC is deprecated after 5.5. So, I don't want to use this feature.
And CLI is not free. So I want to use REST interface. 

1 answer

1 accepted

0 votes
Answer accepted
Rambabu Patina _Appfire_
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.
October 15, 2018

Hi @JY 김,

Currently, there is no REST API to set the space permissions. You can add vote/comments to the existed open request at https://jira.atlassian.com/browse/CONFSERVER-44329.

It can be done with taking help of JSON-RPC API but you do not want to use it. At this point, it would be better to take advantage of the third party add-ons like Confluence CLI.

Thanks,
Ram.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events