talalarshad's avatar
talalarshad
Copper Contributor
May 28, 2021
Status:
New

Ability to delete a chat via the API

I want the ability to delete a chat message via the API, I can delete it through the UI,  but I want this to be automated depending on any workflow.

3 Comments

  • MikeCrowley's avatar
    MikeCrowley
    Iron Contributor

    It is now Possible:

     

    • https://learn.microsoft.com/en-us/graph/api/chatmessage-softdelete?view=graph-rest-beta&tabs=http
    • https://learn.microsoft.com/en-us/powershell/module/microsoft.graph.users.actions/invoke-mgsoftuserchatmessagedelete?view=graph-powershell-beta
  • manishkp's avatar
    manishkp
    Copper Contributor

    We have a very similar scenario as René described in the above comment.

    Essentially being able to delete a chat message vis the Graph MS Team API's.

  • rrakmd's avatar
    rrakmd
    Copper Contributor

    We have customers in the public sector who would like to be able to take a complete chat conversation from Teams and archive it in another system and delete the whole conversation from Teams. So, we would like the ability to delete an entire conversation - not just individual messages in the chat.