renameLabel( )


Renames a label.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Members and Contacts - all permissions
Manage Contact Labels
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
keystringRequired

Label key.

key is generated when the label is created. It can't be modified, even if displayName is updated.


labelRenameLabelRequired

Label to rename.


optionsRenameLabelOptions

Language options.

Returns
Return Type:Promise<ContactLabel>
Did this help?