Delete a file or folder.
URL
(DELETE) /api/projects/{pid}/workflows/{did}/attachments/{locale}/file
PARAMETERS
The URL parameters are:
|
pid |
The project ID |
int, Mandatory |
|
did |
The document ID |
int, Mandatory |
|
locale |
Source or target language code |
string, Mandatory |
|
filename |
The file or folder to delete. Use projects/{pid}/workflows/{did}/attachments/{locale} to list all files and folders and to see their names. |
string, Mandatory |
RESULTS
Returns true if the file/folder was deleted.
Returns false if the file/folder does not exist.