Public
Occasional Advisor

Is it possible to change the user id of a comment?

I'd like to know if it's possible to reassign an existing published comment to another username / user id. For example, I'd like to take an employee's comment that was mistakenly posted on their personal account, and reassign it to their official account. 

1 Reply 1
Honored Contributor

@dpowles - Yes, you can update the author of a message by using the below v1 API, here you have to pass the message.author parameter.

API: /restapi/vc/messages/id/[id] /edit?message.author="[authorName]"

For reference:

https://devdocportal.lithium.com/t5/Community-API-v1-Reference/bd-p/restv1docs?section=commv1&leaf-i...

 

Thanks!

Welcome to the Technology board!

Curious about our platform? Looking to connect on social technology? You've come to the right place!

Are you a Khoros customer? For direct assistance from our Support team, please visit the Support Forum.