drush webform:purgefor drush 9x

Purge webform submissions from the databases

drush webform:purge

  • Aliases

    webform:purge has 1 alias/es:

    drush wfp

  • Arguments

    webform:purge accepts 1 argument/s:

    webform_id : A webform machine name. If not provided, user may choose from a list of names.

  • Options

    webform:purge accepts 6 option/s:


    --all : all


    --entity-type : entity-type


    --entity-id : entity-id


    --notify : notify


    --druplicon : druplicon


    --xh-link : xh-link

  • Examples

    Pick a webform and then purge its submissions.

    drush webform-purge

    Delete 'Contact' webform submissions.

    drush webform-purge contact

    Purge all webform submissions.

    drush webform-purge --all

  • Comments

    comments powered by Disqus