Tasks API

Task attachment API - Remove task attachment

OVERVIEW

This API method removes the attachment from a task

Request

DELETE     /tasks/{taskid}/attachments/{attachmentid}

Request Parameters

Parameter Value Description
taskid (required) integer taskid is the ID of the task from which the attachment is going to be removed. The taskid can be obtained by calling Get all tasks  API.
attachmentid (required) integer attachmentid is the id of the file which is going to be removed from the given task. The attachmentid can be obtained by calling Get files list API.

Response

The response is a 200 OK http response in the case of success and an error object is returned in the case of a failure. 

Comments


0 Comments

Last Updated: Nov 08,2024