gmailr (version 0.7.1)

delete_thread: Permanently delete a single thread.

Description

Function to delete a given thread by id. This cannot be undone!

Usage

delete_thread(id, user_id = "me")

Arguments

id

thread id to access

user_id

gmail user_id to access, special value of 'me' indicates the authenticated user.

References

https://developers.google.com/gmail/api/v1/reference/users/threads/delete

See Also

Other thread: modify_thread, threads, thread, trash_thread, untrash_thread

Examples

Run this code
# NOT RUN {
delete_thread(12345)
# }

Run the code above in your browser using DataCamp Workspace