entity:delete

Delete an specific entity

Usage:

drupal entity:delete [arguments] [options]
ed

Available options

OptionDetails

--all

Delete all entities of the given type.

Available arguments

ArgumentDetails

entity-definition-id

Entity definition id

entity-id

Entity ID to be deleted

Examples

Delete entity type content using node id

drupal entity:delete node 1