You can delete a group with the removeGroup method.
Permissions to run the request: Account Owner, Administrators, Department Administrators or users with a role with custom settings allowing to delete groups.
|credentials (required)||credentials||Read the description of the Credentials object.|
|groupId (required)||string||The ID of a group you want to delete.|
After the request has been successfully processed, the system returns an object with the following properties:
|success||bool||True if the group has been deleted.|
|Permission denied||The user has no permissions to delete groups.|
|Wrong parameters||The group with the given ID wasn't found.|