remove_field
Remove a field from a REDCap project's data dictionary in one step. The tool exports, modifies, and reimports the dictionary, eliminating manual editing.
Instructions
Remove a field from the project data dictionary.
Exports the current data dictionary, removes the field, and imports the updated dictionary back.
Note: REDCap will reject the removal of the record-ID field and may reject removals that would break branching logic or calculated fields in other instruments.
Args: field_name: Variable name of the field to remove.
Returns: Confirmation message, or an error if the field was not found.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |