DeleteFile
Deletes one file attachment's version.
Input
| Name | Type | Required | Description |
| TableId | String | True | The unique identifier (dbid) of the table where the attachment is stored. |
| FieldId | Int64 | True | The unique identifier (fid) of the field where the attachment is stored. It needs to be a file attachment field. |
| RecordId | Int64 | True | The unique identifier of the record where the attachment is stored. |
| VersionNumber | Int64 | True | The file attachment version number. |
Result Set Columns
| Name | Type | Description |
| Success | Boolean | Whether the operation is successful or not. |
| ErrorMessage | String | Error message or details if any. |
| VersionNumber | Int64 | The file attachment version number deleted. |
| FileName | String | The name of file associated with deleted version. |
| Uploaded | Datetime | The timestamp when the version was originally uploaded. |
| CreatorId | String | The id of the user who uploaded that version. |
| CreatorName | String | The full name of the user who uploaded that version. |
| CreatorUserName | String | The user name of the user who uploaded that version. Optional, appears if not the same as user email. |
| CreatorEmail | String | The email of the user who uploaded that version. |