comment On User With Id

POST {{baseUrl}}/api/user/comment

Adds a comment to the user's account.

Request Body

{"userComment"=>{"comment"=>"<string>", "commenterId"=>"<uuid>", "id"=>"<uuid>", "insertInstant"=>"<long>", "userId"=>"<uuid>"}}

HEADERS

KeyDatatypeRequiredDescription
X-FusionAuth-TenantIdstringThe unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
Content-Typestring
Acceptstring

RESPONSES

status: OK

{&quot;userComment&quot;:{&quot;comment&quot;:&quot;\u003cstring\u003e&quot;,&quot;commenterId&quot;:&quot;\u003cuuid\u003e&quot;,&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;insertInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;userId&quot;:&quot;\u003cuuid\u003e&quot;},&quot;userComments&quot;:[{&quot;comment&quot;:&quot;\u003cstring\u003e&quot;,&quot;commenterId&quot;:&quot;\u003cuuid\u003e&quot;,&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;insertInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;userId&quot;:&quot;\u003cuuid\u003e&quot;},{&quot;comment&quot;:&quot;\u003cstring\u003e&quot;,&quot;commenterId&quot;:&quot;\u003cuuid\u003e&quot;,&quot;id&quot;:&quot;\u003cuuid\u003e&quot;,&quot;insertInstant&quot;:&quot;\u003clong\u003e&quot;,&quot;userId&quot;:&quot;\u003cuuid\u003e&quot;}]}