gm_delete_label: Permanently delete a label

View source: R/gm_label.R

gm_delete_labelR Documentation

Permanently delete a label

Description

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

Usage

gm_delete_label(id, user_id = "me")

Arguments

id

label id to retrieve

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.labels/delete

See Also

Other label: gm_create_label(), gm_labels(), gm_label(), gm_update_label()


r-lib/gmailr documentation built on Nov. 5, 2023, 6:22 a.m.