Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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 Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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
AUG Leaders

Atlassian Community Events