v51

latestOpenAPI 3.0.1raw.githubusercontent.com2026-08-0118684573.2 KB
Draft Form

Clearing a Draft Form Attachment

Because Form Attachments are completely determined by the XForms definition of the form itself, there is no direct way to entirely remove a Form Attachment entry from the list, only to clear its uploaded content or to unlink the Dataset. Thus, when you issue a DELETE to the attachment's endpoint, that is what happens.

delete/v1/projects/{projectId}/forms/{xmlFormId}/draft/attachments/{filename}

Path parameters

projectIdnumber required

The numeric ID of the Project

xmlFormIdstring required

The xmlFormId of the Form being referenced.

filenamestring required

The name of tha attachment.

Response

OK

successboolean required

Example response

{
  "success": true
}