Delete an attachment.
URL
(DELETE) /api/apps/wbflex/documents/{id}/files/file?name={name}&locale={locale}
PARAMETERS
URL parameters are:
id | Specify either a document ID (such as 1000) or a job ID (such as c300). | Mandatory, string |
name | The name of the related file. With sub-folders use the backslash: "myfolder\myfile.docx" | Mandatory, string |
locale | Optional. Uses source locale by default. Permits to fetch attached files in a specific language. | Optional, string |
RESULTS
The method returns the file as an HTTP streamdoes not return a result.
If the file to delete does not exist, no error is returned.
EXAMPLES
-