Rename existing group
This endpoint allows you to rename a group for a specific group type and name combination. Once the request is executed successfully, all profiles associated with the original group will now be associated with the new group.
Additionally, we've included an AllowMerge field that must be set to true if the new group name already exists for the same group type. For example, if you have Group A and Group B under the same group type, and you rename Group A to Group B with AllowMerge set to true, profiles from Group A that aren't already in Group B will be moved to Group B, and Group A will be deleted. If AllowMerge is set to false, the API will reject the request.
Header Parameters
Authorization token
Path Parameters
This is your organization’s MyPreferences Account Id. A 404 is returned if this value is invalid.
Name of the groupType associated with the group you want to rename.
Body Parameters
The current name of the group you want to rename.
The new name you want to assign to the group.
Must be set to true if the new group name already exists for the specified group type.