users
Moves the specified thread to the trash. Any messages that belong to the thread are also moved to the trash. For more information, see Manage threads.
post/gmail/v1/users/{userId}/threads/{id}/trash
Path parameters
userIdstring required
The user's email address. The special value me can be used to indicate the authenticated user.
idstring required
The ID of the thread to Trash.
Response
Successful response