drush webform-clearfor drush 6x

Clear a webform by deleting all its submissions.

drush webform-clear

webform-clear is a Drush command from the webform project.

  • Arguments

    webform-clear accepts 1 argument/s:

    nid : The node ID of the webform you want to clear (required)

  • Options

    webform-clear accepts 1 option/s:

    --batch-size : The size of batches in rows (default 10000). If encountering out of memory errors, set this number lower to export fewer submissions per batch.

  • Comments

    comments powered by Disqus