drush field-delete

Delete a field and its instances.

Drush Command

drush field-delete

Arguments

field_name : Name of field to delete.

Aliases

Options

--bundle : Only delete the instance attached to this bundle. If omitted, admin can choose to delete one instance or whole field.
--entity_type : Disambiguate a particular bundle from identically named bundles. Usually not needed.

Examples

Delete the city field and any instances it might have.

field-delete city
Delete the city instance on the article bundle
field-delete city --bundle=article