Deletes a group.
The deleteGroup()
function returns a Promise resolves to the deleted group after it has successfully been deleted. Only site admins and group admins can delete their group. After the group is deleted, it is removed from both your site and the site's Dashboard.
ID of the group to delete.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.