[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2024-09-05 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"]]