workspaceComment_update

PUT /orgs/{oid}/workspaces/{wid}/comments/{cid}

Updates the information of a comment.

This can include flagging the comment as abusive.

Note

you cannot change the contents of the original comment message using this request.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • wid (required): the id of the workspace
  • oid (required): the id of the org
  • cid (required): the id of the comment

HTTP Request Body Parameters

A comment object

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/workspaces/{wid}/comments/{cid}" -X PUT \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml" --data-binary "@representation.xml"

Example of representation.xml content (the request body):

<ns0:comment xmlns:ns0="http://www.usharesoft.com/uforge">
        <abused>true</abused>
        <message>initial message</message>
</ns0:comment>