Renames a label.
The renameLabel()
function returns a Promise
that resolves when the specified label's display name is changed.
Note:
Only visitors with
Manage Contacts permissions
can rename labels.
You can override the permissions by setting the suppressAuth
option to true
.
Label key.
key
is generated when the label is created
and cannot be modified, even if displayName
changes.
Label display name shown in the Dashboard.
Authorization options.