Delete an attachment on a task

DELETE {{baseUrl}}/tasks/:taskId/attachments/:attachmentId?cascade=false&cascadeContent=false

Delete an attachment on a task.
If cascade parameter is set to true, the corresponding file in the OT2 content store(Content metadata service & Content storage service) will also be deleted along with the task attachment.

Request Params

KeyDatatypeRequiredDescription
cascadebooleanFor file input attachment, use cascade = true to delete the file along with the attachment.
cascadeContentbooleanFor file input attachment, use cascadeContent = true to delete the file content along with the attachment.