deleteUsersID method

Future<void> deleteUsersID(
  1. String userID, {
  2. String? zapTraceSpan,
})

Delete a user

Parameters:

  • String userID (required): The ID of the user to delete.

  • String zapTraceSpan: OpenTracing span context

Implementation

Future<void> deleteUsersID(String userID, {String? zapTraceSpan}) async {
  final response =
      await deleteUsersIDWithHttpInfo(userID, zapTraceSpan: zapTraceSpan);
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}