delete_file
Delete file from the Moku file systemUser can delete files from bitstreams, ssd, logs, persist and media directories. If using the REST API directly, these directories form the group name in the URL and the filename
follows the delete command; e.g. /api/persist/delete/<filename>. No Client Key is required (ownership doesn't need to be taken).
When using either of the clients, user can access this function directly from instrument reference.
Parameters
string required
Target directory to access
allowed values:Moku:Lab media, bitstreams, logs, tmp Moku:Go persist, bitstreams, logs, tmp Moku:Pro ssd, bitstreams, logs, tmp, persist Moku:Delta ssd, bitstreams, logs, tmp, persist
string required
Name of the file to delete
Python Support
In Python the command is delete(), MATLAB and cURL use the command delete_file()
Usage in clients,