Skip to content
atlassian-dc-mcp
Esc
↑↓navigate↵open⌘Jpreview

Delete an attachment from an issue

Remove an attachment from an issue.

DELETE/api/2/attachment/{id}
Authorization
AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

or
AuthorizationBearer token · headerrequired

Personal Access Token — Administration > Profile > Personal Access Tokens

AuthorizationBasic auth · headerrequired

In order to use basic authorization, provide username:password Base64 encoded in the 'Authorization' header.

Path parameters
idstringrequired

id of the attachment to remove

Responses
204

Removal was successful

403

The calling user is not permitted to remove the requested attachment.

Try it
Server
Authorization
Parameters
Request
curl -X DELETE 'http://jira.example.com/rest/api/2/attachment/string' \
  -H 'Authorization: Basic YOUR_CREDENTIALS'
Response
Removal was successful

Was this page helpful?