drush config:deletefor drush 9x

Delete a configuration key, or a whole object.

drush config:delete

  • Aliases

    config:delete has 2 alias/es:

    drush cdel

    drush config-delete

  • Arguments

    config:delete accepts 2 argument/s:

    config_name* : The config object name, for example "system.site".

    key : A config key to clear, for example "page.front".

  • Options

    config:delete accepts 3 option/s:


    --notify : notify


    --druplicon : druplicon


    --xh-link : xh-link

  • Examples

    Delete the the system.site config object.

    drush config:delete system.site

    Delete the 'page.front' key from the system.site object.

    drush config:delete system.site page.front node

  • Comments

    comments powered by Disqus