Remove an image from a comment
delete_comment_attachment
Permanently removes one image from a comment or reply.
Scopecomments:writeDestructive
The stored file is destroyed and its public URL stops working immediately. There is no undo.
Any workspace member may delete any attachment, including one somebody else uploaded, which is not the rule delete_comment follows. The tool tells the client to be certain before calling it, to read the comment with list_comment_attachments first and to confirm which image is meant. See Comments.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
attachmentId |
string | Yes | The attachment id, from list_comment_attachments. |