It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

using REST API How to delete attachment in "On demand JIRA"?

Hi ,

I attached wrong documents in several issues in on demand JIRA, so need to develop a REST API for deleting the attachemts from on demand JIRA.

Please share the REST API format.

Thanks.

2 answers

1 accepted

0 votes
Answer accepted

you have to use this following rest api

/rest/api/2/attachment/{id}(DELETE)

check this doc

https://developer.atlassian.com/static/rest/jira/5.1.6.html#id127779

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted in Jira

We want to hear from you! How do you use Slack and Atlassian together?

Hi Everyone! My name is Mina and I am on Atlassian’s Ecosystems Marketing team. Our team is focused on our technology partnerships and marketplace apps. One of Atlassian’s partners is Slack, who ...

106 views 1 6
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you