Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How to set a space's category by REST API?

Deleted user January 29, 2018

I am creating a lot of spaces by REST API and I would like to assign them a category, too. However I couldn't find the parameter to do so.

(Using Confluence V6.6.1)

1 answer

1 accepted

2 votes
Answer accepted
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.
January 29, 2018

Although it's not exactly a REST API, you could post to 

json-rpc/confluenceservice-v2/addLabelByNameToSpace

with the following data:

["team:<labelname>", "<spacekey>"]

and fill in <labelname> (aka space category) and <spacekey> respectively.

Daniel Holmes November 1, 2018

Useful workaround.  Would be nicer to have it formally in the API.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events