Skip to main content

Delete Form Files

Description: To delete a form file a HTTP DELETE request is made to the URL with the form ID and file ID.

Method: DELETE

URI: /forms/form_id/files/file_id

URI Parameters:

  • form_id: The ID of the form.

  • file_id: The ID of the form file.

Headers: Authorization: Third party based authorization header

Returns

FieldTypeDescription
MessageStringMessage relating to the update.

Example

Request
curl https://app-api.reiformslive.com.au/forms/1/files/1 \
--request DELETE \
--header "content-type: application/json" \
--header "Authorization: Basic YTlkOWIwYItNGY4Yi1hYTQxLTI5NzZmMTcyZmEyMQ=="
Response
{
"message": "The file was successfully deleted."
}