Content labels
Add labels to content
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/content/{id}/label
Request
- Base URLhttps://your-domain.atlassian.net
- URLhttps://your-domain.atlassian.net/wiki/rest/api/content/{id}/label
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.atlassian.com/authorizeToken URL: https://auth.atlassian.com/oauth/token scopes: write:confluence-content
Path parameters
idstring required
The ID of the content that will have labels added to it.
Request body
Response
Returned if the labels are added to the content.
Changes
No recorded changes to this operation across all 2 revisions of this API.