Actions43
- Comment Actions
- Component and Style Actions
- Dev Resource Actions
- Figma File Actions
- Library Analytic Actions
- Project Actions
- User Actions
- Variable Actions
- Version History Actions
- Webhook V2 Actions
Comment → Delete Comment
AI-generatedSummary
Delete a specific comment from a Figma file using its file key and comment ID, provided the user is the creator of the comment.
Inputs
- Key (required) — The key (ID) of the Figma file where the comment exists.
- Comment ID (required) — The unique ID of the comment to be deleted.
- Query Parameters — Optional query parameters to refine the request such as pagination cursors, markdown formatting flags, versioning, and date/time filters.
Output shape
a JSON object indicating success or failure; if the API returns no content, a status code '204 No Content' is returned.
Requires authentication with valid Figma OAuth2 credentials. Only the author of the comment may delete it. The operation uses the DELETE HTTP method on the endpoint /v1/files/{key}/comments/{commentId}.
Examples
Example 1: Successfully delete a comment
Provide the Figma file's key and the comment's ID, omit optional query parameters if not needed, then execute the node to call the Figma API to delete the comment.