[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Não contém as informações de que eu preciso","missingTheInformationINeed","thumb-down"],["Muito complicado / etapas demais","tooComplicatedTooManySteps","thumb-down"],["Desatualizado","outOfDate","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Problema com as amostras / o código","samplesCodeIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2024-09-05 UTC."],[[["Moves a specified thread and its associated messages to the trash."],["Requires the user's email address (`userId`) and the thread ID (`id`) as path parameters."],["Uses an empty request body and returns a `Thread` object upon successful completion."],["Needs authorization with either `https://mail.google.com/` or `https://www.googleapis.com/auth/gmail.modify` scope."]]],["This document outlines the process for moving a Gmail thread to the trash via an API. The `POST` request to `https://gmail.googleapis.com/gmail/v1/users/{userId}/threads/{id}/trash` requires two path parameters: `userId` (user's email, or \"me\") and `id` (thread ID). The request body must be empty. Upon success, the response contains thread details. Authorization requires either `https://mail.google.com/` or `https://www.googleapis.com/auth/gmail.modify` OAuth scope.\n"]]