code: def delete(config, group, force):
          
          if not force:
              if not click.confirm(
                      'Confirm that you want to delete group {}'.format(group)):
                  sys.exit("Deletion of {} aborted".format(group))
  
          client = Client()
          client.prepare_connection()
          group_api = API(client)
          group_api.delete(group)
docs: Delete an LDAP group.