Deleting specific attachment types in Yammer

Not applicable

Hi All,

I am looking for deleting a specific attachment type in yammer, can you please suggest a correct REST APIs for doing this operation.


Can I use /pending_attachments/: id for deleting specific attachments in yammer.


I want to set up a process to check for any of these files and delete if found:











Krishna P

2 Replies

Does anyone have any idea about the question I posted earlier? Please comment.

How you would do this is to first execute an export either manually or through the export API.  Then, use PowerShell to iterate through the "name" column for items ending in your file extensions, and for columns where they are found, mark in a variable the file_id.  Finally, within the same script, take the file_id found and input that into DELETE


Does that help?