Permanently delete a label
Function to delete a label by id. This cannot be undone!
gm_delete_label(id, user_id = "me")
id
: label id to retrieveuser_id
: gmail user_id to access, special value of 'me' indicates the authenticated user.https://developers.google.com/gmail/api/reference/rest/v1/users.labels/delete
Other label: gm_create_label()
, gm_labels()
, gm_label()
, gm_update_label()
Useful links