Khoros Atlas Logo

%3CLINGO-SUB%20id%3D%22lingo-sub-534261%22%20slang%3D%22en-US%22%3EIs%20it%20possible%20to%20change%20the%20user%20id%20of%20a%20comment%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-534261%22%20slang%3D%22en-US%22%3E%3CP%3EI'd%20like%20to%20know%20if%20it's%20possible%20to%20reassign%20an%20existing%20published%20comment%20to%20another%20username%20%2F%20user%20id.%20For%20example%2C%20I'd%20like%20to%20take%20an%20employee's%20comment%20that%20was%20mistakenly%20posted%20on%20their%20personal%20account%2C%20and%20reassign%20it%20to%20their%20official%20account.%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-534263%22%20slang%3D%22en-US%22%3ERe%3A%20Is%20it%20possible%20to%20change%20the%20user%20id%20of%20a%20comment%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-534263%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.khoros.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F83105%22%20target%3D%22_blank%22%3E%40dpowles%3C%2FA%3E%26nbsp%3B-%20Yes%2C%20you%20can%20update%20the%20author%20of%20a%20message%20by%20using%20the%20below%20v1%20API%2C%20here%20you%20have%20to%20pass%20the%20message.author%20parameter.%3C%2FP%3E%3CP%3EAPI%3A%26nbsp%3B%3CSPAN%3E%2Frestapi%2Fvc%3C%2FSPAN%3E%3CSPAN%3E%2F%3C%2FSPAN%3E%3CSPAN%3Emessages%3C%2FSPAN%3E%3CSPAN%3E%2F%3C%2FSPAN%3E%3CSPAN%3Eid%3C%2FSPAN%3E%3CSPAN%3E%2F%3C%2FSPAN%3E%3CSPAN%3E%5Bid%5D%26nbsp%3B%3C%2FSPAN%3E%3CSPAN%3E%2F%3C%2FSPAN%3E%3CSPAN%3Eedit%3Fmessage.author%3D%22%5BauthorName%5D%22%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EFor%20reference%3A%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdevdocportal.lithium.com%2Ft5%2FCommunity-API-v1-Reference%2Fbd-p%2Frestv1docs%3Fsection%3Dcommv1%26amp%3Bleaf-id%3DMessage.edit%23Message.edit%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdevdocportal.lithium.com%2Ft5%2FCommunity-API-v1-Reference%2Fbd-p%2Frestv1docs%3Fsection%3Dcommv1%26amp%3Bleaf-id%3DMessage.edit%23Message.edit%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Advisor
Occasional Advisor

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
Highlighted
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...