/gmail/v1/users/{userId}/messages/{id}
DELETE
/gmail/v1/users/{userId}/messages/{id}Immediately and permanently deletes the specified message. This operation cannot be undone. Prefer messages.trash
instead.
Request
Path Params
userId
string
required
The user's email address. The special value me
can be used to indicate the authenticated user.
id
string
required
The ID of the message to delete.
Request samples
Responses
Successful response(200)
Successful response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: a year ago