Delete Issue Attachment

Deletes an attachment of issue.

Role

Administrator 
Normal User 

Method

DELETE 

URL

/api/v2/issues/:issueIdOrKey/attachments/:attachmentId 

URL parameters

Parameter Name Type Description
issueIdOrKey String Issue ID or Issue Key
attachmentId Number Attachment file ID

Response example

Status Line / Response Header

HTTP/1.1 200 OK 
Content-Type:application/json;charset=utf-8 

Response Body

{ 
        "id":8, 
        "name":"IMG0088.png", 
        "size":5563, 
        "createdUser":{ 
            "id":1, 
            "userId":"admin", 
            "name":"admin", 
            "roleType":1, 
            "lang":"ja", 
            "mailAddress":"eguchi@nulab.example",
          "lastLoginTime": "2022-09-01T06:35:39Z"
        }, 
        "created":"2014-10-28T09:24:43Z" 
}