Users.messages: batchDelete

Deletes many messages by message ID. Provides no guarantees that messages were not already deleted or even existed at all. Try it now.


HTTP request



Parameter name Value Description
Path parameters
userId string The user's email address. The special value me can be used to indicate the authenticated user.


This request requires authorization with the following scope:


For more information, see the authentication and authorization page.

Request body

In the request body, supply data with the following structure:

  "ids": [
Property name Value Description Notes
ids[] list The IDs of the messages to delete.


If successful, this method returns an empty response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response.

Şunun hakkında geri bildirim gönderin...

Yardım mı gerekiyor? Destek sayfamızı ziyaret edin.