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
Key | Datatype | Required | Description |
---|---|---|---|
cascade | boolean | For file input attachment, use cascade = true to delete the file along with the attachment. | |
cascadeContent | boolean | For file input attachment, use cascadeContent = true to delete the file content along with the attachment. |