Forums

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

Add label to Confluence Space via REST API

Michael Russo March 18, 2025

Hi,

Am I correct in that there does not appear to be a POST/PUT option to add/assign a label to a Confluence Space via the REST API?

 

Via the UI, a Confluence Administrator can visit the following URL to add one:

  1. https://{customer_url}.atlassian.net/wiki/spaces/{spaceKey}/settings/details
  2. Click More Details

  3. In Categories add existing or new labels as needed.

...but the only API calls appear to be:

GET labels for Space: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-label/#api-spaces-id-labels-get
-and-
GET Space by Id: https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-space/#api-spaces-id-get
--with the "include-labels" query parameter.

1 answer

0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 20, 2025

Hello Michael,

Thanks for asking this question! The API primarily supports retrieving labels with the GET method, as you mentioned in your post.

We do have an experimental API that you can use, noting these URLs can change over time:  Add labels to a space 

Finally, we are tracking interest via a feature request: CONFCLOUD-73279 Allow setting of Space labels (categories) using the Space REST API

You can add your vote and comment on the feature request with your feedback for the product team. If you want to be kept up to date on any progress, add yourself as a watcher.

I hope that helps, but if you have any questions, please let me know!

Shannon S | Atlassian Cloud Support

Suggest an answer

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

Atlassian Community Events