The Delete From a Database action node enables you to permanently delete a record that is stored in your database via a module. You can then select this module as an action target in a data view action and allow end users to delete records from within a data view.
Use the Delete From a Database action
To delete a record from a database using a module, follow the steps below:
- Create a Delete From a Database action and select the database in which you want to delete records.
- In the ID field, provide a record ID. Usually, by referencing a start parameter in the START node.
Environment considerations
Delete From a Database actions delete records from the environment in which they are used. If you are using your module in Test, it will delete the record from the Test version of the database. If you are using it in Live or in a client-specific environment, it will delete from the Live or client-specific version of the database.
If you are using your module in Preview, it will not delete records from any database.
Other considerations
Related topics
- Admins can delete individual or all records via the DATA MANAGEMENT tab in a database.
- Allow end users to edit database field values, including deleting certain field values, directly from within a data view.