Menu
Gmail.users.messages.batch Delete
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/batchDeleteUse it in a workflow
- Add a step and choose the Gmail connector.
- Pick the Gmail.users.messages.batch Delete action (under users).
- Fill in the fields below, then reference the result from later steps as
{{gmailUsersMessagesBatchDelete.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"ids": [
"string"
]
}
Response
Returns 200 with a any. Read it in later steps with {{gmailUsersMessagesBatchDelete.response.data.<field>}}.
Need more? See the Gmail guide for connection setup and behaviour shared by every action.
Was this page helpful?