Skip to main content
Permanently remove a single node from the Figma document. Use this for removing individual elements.

Parameters

string
required
The ID of the node to delete

Response

Returns a confirmation message with the deleted node’s ID.

Examples

Delete a single element

Delete after checking node type

Conditionally delete nodes

Notes

  • Deletion is permanent and cannot be undone via the API
  • Deleting a parent node will delete all its children
  • For deleting multiple nodes, use delete_multiple_nodes for better performance
  • Cannot delete the root document node or locked nodes

See Also