deleteAttachmentVersion

Description

Deletes the attachment version.

Parameters

Or

Return Type

Boolean (true/false)

Returns "true" if the attachment version was deleted successfully and "false" otherwise. If returned "false" check the log for a detailed reason on why it failed.

Examples

Example 1

return deleteAttachmentVersion(12365, "attachment.ext", 2);

Example 2

return deleteAttachmentVersion(12365, 3);

See also

Peacock