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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Remove Labels that are numeric or integers with REST API

I was trying to use the rest api delete label with query parameter to remove a label that is an integer but I keep getting 500 Internal Server Error. How do I remove a label that is a numeric value?




1 answer

0 votes
Hana Kučerová Community Leader Aug 18, 2020

Hi @Sam Chan ,

please try this URL (+ DELETE):


I've just tested it and it works for me. 

I just tried that and got this response along with 500 internal server error again

{    "statusCode": 500,    "message": "com.atlassian.confluence.core.service.NotValidException: [ValidationError [messageKey=label.not.found, args=[]]]"}

The weird thing is that the URL works when the label is not a numeric number. I made a call with something like this below and it removed the confluence label

DELETE REQUEST https://your_confluence/rest/api/content/26083521/label/confluence  


My confluence server is running version 5.9.11

Hana Kučerová Community Leader Aug 18, 2020


According to the documentation, there could be problems with "/", but numbers are not mentioned.

Version 5.9.11 is quite old, it seems to me like a bug :-(...

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Admins, notify your Jira instance of system-wide changes with the new admin announcement banner

Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their  Jira Cloud instance.  ...

382 views 13 14
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you