/gmail/v1/users/{userId}/messages/{id}/trash
POST
/gmail/v1/users/{userId}/messages/{id}/trashMoves the specified message to the trash.
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 Trash.
Request samples
Responses
Successful response(200)
Successful response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
No schema defined
Example
Not configured
Last modified: a year ago