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

Delete Room Messages Through API

Is there anyway to delete room messages through the API? I know that it can be done manually by clicking on the room history and then deleting. However, this is a cumbersome process and it would be great to be able to do it through the API.

3 answers

0 votes
crivers Atlassian Team Feb 15, 2017

Unfortunately, the API doesn't provide a way to programmatically delete history. Like you mentioned, the best alternative is to use the room history view and clicking manually.  If you wish to permanently remove larger amounts of history (e.g. an entire room or the entire group), please contact our support team at and they should be able to help you out.

@crivers: Hi. Does deleting a room destroy its history?  I need to get some stuff out of history and it won't display in the web client (too old, I guess).  I'd be happy to just delete the rooms involved and recreate them, as long as that measure would lead to a deletion of history. 

Thank you!

Also, +1 vote from me for programmatic deletion capability. Would be very very very helpful.

crivers Atlassian Team Oct 06, 2017

Deleting the room doesn't fully delete history (we keep history around to handle accidental deletions). However, is does prevent viewing that history, which might provide essentially what you're looking for.

If you want to fully remove the history from the room (with no ability to undelete), the best bet is to contact support.

Thank you, Christopher.  What I'm really after is getting attachments stored in S3 permanently out of S3.  We have not disabled attachments, because we allow images (for screenshots, etc.), but some users have posted other attachments.  Unfortunately, some of the posts no longer are accessible for deletion (time has passed).  So I'd be happy to delete a room and start it over, if that would guarantee that the S3 attachments are gone.

There is no way, currently (10/9/2017).  But you can upvote this suggestion to let Atlassian know that you (and many others) are interested.  I'm posting this, because the suggestion has received few upvotes, despite real interest in the feature (as evidenced by googling around):

Lack of this feature causes compliance nightmares.

Also: Slack's got this.  :-].  They are "compliance aware", as it were.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Hipchat

Hipchat Cloud and Stride have reached End of Life (updated)

All good things come to an end - thanks to all our customers and partners who have been along the Hipchat and Stride journey with us.  As of Feb 15th 2019, Hipchat Cloud and Stride have reached ...

35,225 views 9 8
Read article

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