v51

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0118684573.2 KB
Submission Versions

Clearing a Submission Version's Attachment

This endpoint clears attachments on submission versions.

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.

To clear an attachment only on the current version of a Submission, see Clearing a Submission Attachment.

delete/v1/projects/{projectId}/forms/{xmlFormId}/submissions/{instanceId}/versions/{versionId}/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.

versionIdstring required

The instanceId of the particular version of this submission in question.

filenamestring required

The name of the file as given by the Attachments listing resource.

Response

OK

successboolean required

Example response

{
  "success": true
}