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)
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.
Useful workaround. Would be nicer to have it formally in the API.
It looks like you're new here. Sign in or register to get started.