deleteUser method

  1. @override
Future<String?> deleteUser(
  1. String userId
)
override

Delete an existing user.

Deletes the user identified by the provided unique userId.

Parameters:

  • String userId (required): The UUID that uniquely identifies the user to be deleted.

Implementation

@override
Future<String?> deleteUser(String userId) async => (await api.baseUserApi.deleteUser(userId))?.rev ?? throwFormatException("Invalid user id");