deleteGroup method

Future<void> deleteGroup(
  1. String account,
  2. String group
)

Delete a group

Permanently deletes a group. The group will immediately be removed from all users, licenses and machines. It cannot be undone.

Parameters:

  • String account (required): The identifier (UUID) or slug of your Keygen account.

  • String group (required): The identifier (UUID) of the group to be deleted.

Implementation

Future<void> deleteGroup(String account, String group,) async {
  final response = await deleteGroupWithHttpInfo(account, group,);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}