v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-137956179.1 KB
users

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

post/gmail/v1/users/{userId}/messages/batchDelete

Path parameters

userIdstring required

The user's email address. The special value me can be used to indicate the authenticated user.

Request body

idsstring[]

The IDs of the messages to delete.

Response

Successful response