Skip to main content

Comments

Delete Comment

Delete a comment from a Figma file.

Permanently delete a comment. Only the comment author or file owner can delete comments.

DELETE https://api.figma.com/v1/files/:file_key/comments/:comment_id

Authentication

Requires a valid access token with file_comments:write scope. Pass via X-Figma-Token header (personal access token) or Authorization: Bearer header (OAuth).

Parameters

Path parameters

The key of the file containing the comment.

The ID of the comment to delete. Retrieve comment IDs from the Get Comments endpoint.

Example Request

curl -X DELETE "https://api.figma.com/v1/files/YOUR_FILE_KEY/comments/COMMENT_ID" \
  -H "X-Figma-Token: YOUR_TOKEN"

Response

Returns 200 OK with an empty response body on success.

Deleting a parent comment also deletes all its replies. This action cannot be undone.