Khoros Atlas Logo

Highlighted
Occasional Advisor
Occasional Advisor

Editing user defined labels

Hello!

We are trying to remove user defined labels in the community forums and instead use pre-defined labels.

I noticed that the only way to remove the user defined labels (Under Admin>Features>Labels>Edit Labels) is to manually click each label and delete them. We have more than 800+ labels here and it would not be ideal to delete them one by one.

Is there any way to remove user-defined labels in bulk rather than doing it manually one by one?

When we delete the label, would it be deleted from the posts as well?

0 Kudos
5 Replies 5
Honored Contributor
Honored Contributor

Re: Editing user defined labels

Hi @Laksh,

Unfortunately, this is manual work and quite tedious. Also, when you delete the label, it does not get deleted from the posts automatically. You will have to edit the post and delete the label.

Thanks,
Srujana.

Reply
Loading...
Occasional Commentator ankushs
Occasional Commentator

Re: Editing user defined labels

HI @Laksh,
We can also use an API call to remove labels in bulk from the messages.


Below is the API call which will remove all the labels from a message:-restadmin('/messages/id/${msg.id}/edit?label.labels=''&message.author=id/${userID}')


Make sure this is a post call, you can only use this API call in endpoints.

give kudos if you like my solution & mark it as solved if it resolves your issue.

Thanks

Reply
Loading...
Occasional Advisor
Occasional Advisor

Re: Editing user defined labels

Appreciate the replies!

This API call is only for removing labels from the posts. Deleting labels in admin still need to be done manually, right?

0 Kudos
Reply
Loading...
Occasional Commentator ankushs
Occasional Commentator

Re: Editing user defined labels

@Laksh - Hi,

By removing the labels from the posts using API will remove the user-defined labels from the backend as well.

give kudos if you like my solution & mark it as solved if it resolves your issue.

Thanks

 

0 Kudos
Reply
Loading...
Beeson20
New Commentator

Re: Editing user defined labels

Agreed...Deleting labels in admin needs to be done manually...No other option.Bit unfortunate it is 

 
0 Kudos
Reply
Loading...