-
Notifications
You must be signed in to change notification settings - Fork 86
redcap delete file
Jonathan Chan edited this page May 11, 2018
·
6 revisions
redcap-delete-file
deletes a file from a REDCap project record in a file field.
Parameter | Description |
---|---|
host | Server hostname |
token | Authentication token (project and user specific!) |
record | Primary id of record |
field | Field variable name which has the file to be deleted |
xargs | Optional parameters: see below |
Optional parameters must come in pairs of 'symbol "string"
.
Optional Parameter | Description |
---|---|
'form "[form]" | Deletes from the record with the given form. |
'event "[event]" | Deletes from the record with the given event in longitudinal projects. |
Example 1: Delete a file under the field file2
in study 1.
> (define redcap:token "54CC....CC10")
> (define redcap:hostname "redcap.INSTITUTIONNAME.ca")
> (redcap-delete-file redcap:hostname redcap:token "1" "file2")
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip