delete_file
Remove a file attachment from a REDCap record field by providing the record ID, field name, and optional event for longitudinal projects.
Instructions
Delete a file attachment from a REDCap record field.
Args: record: Record ID containing the file. field: Name of the file upload field. event: Event name (longitudinal projects only).
Returns: Confirmation message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| event | No | ||
| field | Yes | ||
| record | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |