[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-04 UTC."],[[["Moves the specified message to the trash using the Gmail API."],["Requires the user's email address and the message ID as path parameters."],["An empty request body is necessary, and a successful response returns the message details."],["Needs authorization with specific OAuth scopes for modifying Gmail access."]]],["This document outlines the process for moving a message to the trash using the Gmail API. It requires a `POST` request to a specific URL: `https://gmail.googleapis.com/gmail/v1/users/{userId}/messages/{id}/trash`. The `userId` and `id` of the message are specified in the path. The request body must be empty. Upon success, the API returns a `Message` instance. Authorization requires either `https://mail.google.com/` or `https://www.googleapis.com/auth/gmail.modify` OAuth scopes.\n"]]