drush variable-delete

Delete a variable.

Drush Command

drush variable-delete

Arguments

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

Aliases

drush vdel

Options

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

Examples

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