Delete Records From a Project
Delete records from a project. This is a destructive action that will result in deletion of any events and data associated with the arm. Data loss is non-reversible. The user must have 'Delete Record' privileges in the database.
deleteRecords(rcon, records, arms = NULL, ...) ## S3 method for class 'redcapDbConnection' deleteRecords(rcon, records, arms = NULL, ...) ## S3 method for class 'redcapApiConnection' deleteRecords( rcon, records, arms = NULL, ..., error_handling = getOption("redcap_error_handling") )
rcon |
A REDCap connection object as generated by
|
records |
a vector of record names to be deleted. |
arms |
|
... |
Additional arguments to pass to other methods. |
error_handling |
An option for how to handle errors returned by the API.
see |
The number of deleted records.
This method allows you to delete one or more records from a project in a single API request.
At least 8.1.17+ (and likely some earlier versions)
Please refer to your institution's API documentation.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.