Learn R Programming

gmailr (version 1.0.1)

gm_delete_thread: Permanently delete a single thread.

Description

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

Usage

gm_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/reference/rest/v1/users.threads/delete

See Also

Other thread: gm_modify_thread(), gm_threads(), gm_thread(), gm_trash_thread(), gm_untrash_thread()

Examples

Run this code
if (FALSE) {
delete_thread(12345)
}

Run the code above in your browser using DataLab