gmailr (version 0.7.1)

update_label: Update a existing label.

Description

Get a specific label by id and user_id. update_label_patch is identical to update_label but the latter uses HTTP PATCH to allow partial update.

Usage

update_label(id, label, user_id = "me")

update_label_patch(id, label, user_id = "me")

Arguments

id

label id to update

label

the label fields to update

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/labels/update

https://developers.google.com/gmail/api/v1/reference/users/labels/patch

See Also

Other label: create_label, delete_label, labels, label

Other label: create_label, delete_label, labels, label