Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.4 KB

workspaceComment_delete.rst

File metadata and controls

60 lines (42 loc) · 1.4 KB

workspaceComment_delete

.. function:: DELETE /orgs/{oid}/workspaces/{wid}/comments/{cid}

Summary

  • Method: DELETE
  • Response Code: 204 / 200
  • Response Formats:
  • Since: UForge 3.3.2

Removes a comment from a workspace.

This deletes the comment and all replies under this comment.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

HTTP Request Body Parameters

None

Example Request

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

         * :ref:`comment-object`
         * :ref:`workspace-api-resources`
         * :ref:`workspaceComment-create`
         * :ref:`workspaceComment-delete`
         * :ref:`workspaceComment-deleteAll`
         * :ref:`workspaceComment-dislike`
         * :ref:`workspaceComment-get`
         * :ref:`workspaceComment-like`
         * :ref:`workspaceComment-reply`
         * :ref:`workspaceComment-reportAbuse`
         * :ref:`workspaceComment-update`
         * :ref:`workspaceComments-getAll`