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.
Body
PARAM
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. |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status
ENDPOINTS