Attachments
Clearing a Submission Attachment
(introduced: version 0.4)
Because Submission Attachments are completely determined by the XML data of the submission itself, there is no direct way to entirely remove a Submission Attachment entry from the list, only to clear its uploaded content. Thus, when you issue a DELETE to the attachment's endpoint, that is what happens.
This endpoint clears attachments on the current version of the submission. See Clearing the Attachment of a specific Submission Version for working with past versions.
delete/v1/projects/{projectId}/forms/{xmlFormId}/submissions/{instanceId}/attachments/{filename}
Path parameters
projectIdnumber required
The numeric ID of the Project
xmlFormIdstring required
The xmlFormId of the Form being referenced.
instanceIdstring required
The instanceId of the Submission being referenced.
filenamestring required
The name of the file as given by the Attachments listing resource.
Response
OK
Example response
{
"success": true
}