Delete Task Attachment

Removes an attachment from a task by id.

Method

DELETE /task/{id}/attachment/{attachmentId}

Parameters

Path Parameters

Name Description
id The id of the task.
attachmentId The id of the attachment to be removed.

Result

This method returns no content.

Response Codes

Code Media type Description
204 Request successful.
403 application/json The history of the engine is disabled. See the Introduction for the error response format.
404 application/json Task attachment for given task id and attachment id does not exist. See the Introduction for the error response format.

Example

Request

DELETE /task/aTaskId/attachment/aTaskAttachmentId

Response

Status 204. No content.

目录: