You can edit a group with the updateGroup method.
Permissions to run the request: Account Owner, Administrators, Department Administrators or users with a role with custom settings allowing to edit groups.
|credentials (required)||credentials||Read the description of the Credentials object.|
|groupId (required)||string||The ID of the group you want to edit.|
|name (required)||string||The name of a group.|
After the request has been successfully processed, the system returns an object with the following properties:
|success||bool||True if the group was successfully edited.|
|Unknown Group||The group is not found.|
|Permission denied||The user has no permissions to edit groups.|
|Wrong Parameters||The system failed to process the request because it did not contain all necessary parameters.|