Skip to content

Latest commit

 

History

History
63 lines (45 loc) · 1.69 KB

workspaceTemplateComment_delete.rst

File metadata and controls

63 lines (45 loc) · 1.69 KB

workspaceTemplateComment_delete

DELETE /orgs/{oid}/workspaces/{wid}/templates/{tid}/comments/{cid}

Summary

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

Removes a comment from a shared appliance template.

This deletes the comment and all replies under this comment.

Security Summary

  • Requires Authentication: true
  • Entitlements Required: appliance_create

URI Parameters

  • wid (required): the id of the workspace-object
  • oid (required): the id of the org-object
  • tid (required): the id of the gallerytemplate-object
  • cid (required): the id of the comment-object

HTTP Request Body Parameters

None

Example Request

curl "https://uforge.example.com/api/orgs/{oid}/workspaces/{wid}/templates/{tid}/comments/{cid}" -X DELETE \
-u USER_LOGIN:PASSWORD -H "Accept: application/xml"
  • comment-object
  • workspace-api-resources
  • workspaceTemplateComment-create
  • workspaceTemplateComment-delete
  • workspaceTemplateComment-deleteAll
  • workspaceTemplateComment-dislike
  • workspaceTemplateComment-get
  • workspaceTemplateComment-getAll
  • workspaceTemplateComment-like
  • workspaceTemplateComment-reply
  • workspaceTemplateComment-reportAbuse
  • workspaceTemplateComment-update
  • workspacecomments-api-resources
  • workspacetemplate-api-resources