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

 

2 answers

1 vote
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.

0 votes
Jim Birch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 3, 2025

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events