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
Example response
{
"success": true
}