josat
Thu, 23 May 2019 00:34:09 GMT
.../org/run/service/ContentStorageService/" + attachmentid is the older deprecated way to get an attachment .../org/data/” + appid + “/” + formid + “/attachment/” + attachmentUid is the new way. This is more secure than the old way. There is no explicit REST API to delete an attachment. Attachments are deleted automatically when they are no longer linked to a submission. If you are using the attachment API's for general document storage (without associated form submissions), it wasn't meant for this purpose.
If you have a valid scenario for deleting an attachment without removing the reference from an associated submission, please let us know.
Thank you very much Rob for the detail answers!