MS Teams Graph API : Is there a way to edit messages/replies via API?

Copper Contributor

Hi,

 

Im trying to edit messages/replies via Api in Teams but i can not find any documentation about it. 

I've found other documentation for the same purpose with mail:

 

https://docs.microsoft.com/sv-se/graph/api/message-update?view=graph-rest-beta&tabs=http

 

PATCH /me/messages/{id}

 

so i was trying the same logic in graph explorer for messages:

PATCH https://graph.microsoft.com/beta/teams/{teamId}/channels/{channelId}/messages/{messageId}

{
"body": {
"content": "Trying to update messages!"
}
}

 

but i just get UnknownError back.

 

Does anyone know how to do this? is it possible in any way?

 

Thanks in advance!

0 Replies