YouTrack Standalone 2019.3 Help

Delete Attachment from an Issue

DELETE /issue/{issue}/attachment

Get all issue attachments

GET /rest/issue/{issue}/attachment/{attachment}

Parameters:

Name

Type

Description

issue

issueById

ID of an issue to get attachments from.

attachment

attachmentById

ID of an attachment to delete.

Sample

Request

DELETE https://example.com/youtrack/rest/issue/HBR-63/attachment/45-46 Cookie: $Version=0; JSESSIONID=6nu9yemgzc1t1wigbv0y1ldwb; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/

Response

HTTP/1.1 200 OK Content-Type: application/xml; charset=UTF-8 Cache-Control: no-cache, no-store, no-transform, must-revalidate Content-Length: 0
Last modified: 16 March 2020