Name of the pre-delete hook script

Key: pre_collection_delete_script
Type: String
Can be set in: global.cfg


This option specifies the location of the script to execute when a collection is deleted. Note that only a single script path will be accepted; specifying additional arguments or a shell literal will result in an error, which will block collection deletion until it is resolved.

When a collection is deleted, the script will be called with the following arguments:


Name of the collection that is being deleted.

Default Value

There’s no collection delete hook by default.


Call a specific collection delete hook script


See Also