Adds a category the description of a given {@link Space} identified by spaceKey.
Example request URI to add space category 'testCategory' to space with space key TEST:
https://example.com/confluence/rest/api/space/TEST/category/testCategory
string
Requiredstring
Requireda request has been successfully completed. A new label has been added or it already exist. No content is returned.
1
2
curl --request POST \
--url 'http://{baseurl}/confluence/rest/api/space/{spaceKey}/category/{labelName}'
Removes a category from a space, identified by spaceKey.
Example request URI:
https://example.com/confluence/rest/api/space/TEST/category/example-category
string
Requiredstring
RequiredReturned if the category is removed successfully.
1
2
curl --request DELETE \
--url 'http://{baseurl}/confluence/rest/api/space/{spaceKey}/category/{categoryName}'
Rate this page: