drush variable-delete

Delete a variable.

Drush Command

drush variable-delete


name : The name of a variable or the first few letters of its name.


drush vdel


--yes : Skip confirmation if only one variable name matches.
--exact : Only delete the one variable that exactly matches the specified name.


Delete the userpictures variable.

drush vdel userpictures
Choose from a list of variables beginning with "u" to delete.
drush vdel u
Bring the site back online, skipping confirmation. Variable is rewritten to siteoffline for Drupal 6.
drush vdel -y --exact maintenancemode