/gmail/v1/users/{userId}/threads/{id}
DELETE
/gmail/v1/users/{userId}/threads/{id}Immediately and permanently deletes the specified thread. Any messages that belong to the thread are also deleted. This operation cannot be undone. Prefer threads.trash
instead.
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
ID of the Thread to delete.
Request samples
Responses
Successful response(200)
Successful response
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
object {0}
Example
{}
Last modified: a year ago