ProjectFlow icon

ProjectFlow

Manage ProjectFlow items, comments and attachments

Comment → Delete

AI-generated

Summary

Deletes a single ProjectFlow comment by its ID via a DELETE request to /api/v1/comments/{commentId}, and returns the API response or a synthetic success object.

Inputs

  • authentication — Credential type used for the request: Personal Token (default) or OAuth2. The credential's base URL determines the ProjectFlow instance called.
  • commentId (required) — ID of the comment to delete. Evaluated per input item, so it can be set with an expression.

Output shape

One output item per input item. It holds the API's response body, or {"success": true, "id": ""} if the API returns an empty response.

Each output item is paired to its input item. If Continue On Fail is enabled, a failed item outputs {"error": ""} instead of stopping the workflow. Otherwise the node throws an error.

Examples

Example 1: Remove a specific comment whose ID is known from an earlier step.

Resource: Comment, Operation: Delete, Comment ID: ={{ $json.id }}, Authentication: Personal Token.

Example 2: Clean up comments after listing them with Get Many.

Run Comment > Get Many, filter the results with an IF or Filter node, then run Comment > Delete with Comment ID set to ={{ $json.id }}.

Links

Discussion