Khoros Community

Occasional Contributor dpowles
Occasional Contributor

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

Jump to solution

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. 

0 Kudos
1 Reply 1
Honored Contributor
Honored Contributor

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

Jump to solution

@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!

Reply
Loading...