delete_instrument
Removes a specified instrument and its fields from a REDCap project. Provide the form name to delete it and receive confirmation with field count.
Instructions
Delete an instrument and all its fields from the project.
Removes every field that belongs to the instrument. REDCap will reject the operation if the instrument contains the record-ID field.
Args: form_name: Internal name of the instrument to delete.
Returns: Confirmation message with the count of removed fields.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |