Forums

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

How to add a label to a Confluence page using the v2 API?

Peter Brownlow
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 23, 2024

Hi,

 

I can see that the v1 API has an endpoint for adding labels to content but I can't see something similar in v2. In particular, update page and the labels group are where I'm looking.

 

Searches seem to suggest using Confluence automation, but we've already got some code calling the v2 API so I'd prefer to keep everything in 1 codebase for simplicity.

 

Am I overlooking something here, or is this simply missing in v2?

 

Cheers,

 

-Peter

 

1 answer

0 votes
marc -Collabello--Phase Locked-
Community Champion
February 23, 2024

API v2 is not a complete replacement for API v1.

That means you have to use API v1 if no endpoint is available in API v2.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, confluence whiteboards, whiteboard templates, template contest, visual collaboration, atlassian learning, confluence community, brainstorming tools, agile planning, team productivity, confluence templates, share your template

Share Your Confluence Whiteboard Template for a Chance to Be Featured in the Product! 🏆

Want to leave your mark on Confluence? One winner will have their whiteboard design added into Confluence for all users to access! This is your chance to showcase your creativity, help others, and gain recognition in the Confluence community.

Share your template today!
AUG Leaders

Atlassian Community Events