v1

latestOpenAPI 3.0.12026-07-13130168404.3 KB
Experimental

Add labels to a space

Adds labels to a piece of content. Does not modify the existing labels.

Notes:

  • Labels can also be added when creating content (Create content).
  • Labels can be updated when updating content (Update content). This will delete the existing labels and replace them with the labels in the request.

Permissions required: Permission to update the content.

post/wiki/rest/api/space/{spaceKey}/label

Path parameters

spaceKeystring required

The key of the space to add labels to.

Request body

prefixstring required

The prefix for the label. global, my team, etc.

namestring required

The name of the label, which will be shown in the UI.

Response

Returned if the labels are added to the content.

startinteger
limitinteger
sizeinteger required
_linksGenericLinks