I am trying to CREATE an Attachment as mentioned here:
But Is there a way to create an attachment which is not pending?
Also DELETING any kind of attachment is throwing 500 error:
Using this API: DELETE https://www.yammer.com/api/v1/pending_attachments/:id
So, in this case I have tried using this API DELETE https://www.yammer.com/api/v1/uploaded_files/:file_id
Now this API only allows to DELETE attachment which is not pending, and for pending attachments it is throwing 500 error.