Delete Attachment from an Issue
DELETE /issue/{issue}/attachment
Get all issue attachments
GET /rest/issue/{issue}/attachment/{attachment}
Name | Type | Description |
---|---|---|
issue | issueById | ID of an issue to get attachments from. |
attachment | attachmentById | ID of an attachment to delete. |
Sample
DELETE http://localhost:8081/rest/issue/HBR-63/attachment/45-46
Cookie: $Version=0; JSESSIONID=6nu9yemgzc1t1wigbv0y1ldwb; $Path=/; jetbrains.charisma.main.security.PRINCIPAL=NDgxMzQ5NGQxMzdlMTYzMWJiYTMwMWQ1YWNhYjZlN2JiN2FhNzRjZTExODVkNDU2NTY1ZWY1MWQ3Mzc2NzdiMjpyb290; $Path=/
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
Server: Jetty(7.2.0.v20101020)
Last modified: 2 February 2017