deleteSmsMessages method

Future<void> deleteSmsMessages({
  1. String? phoneNumberId,
})

Delete all SMS messages

Delete all SMS messages or all messages for a given phone number

Parameters:

Implementation

Future<void> deleteSmsMessages({ String? phoneNumberId, }) async {
  final response = await deleteSmsMessagesWithHttpInfo( phoneNumberId: phoneNumberId, );
  if (response.statusCode >= HttpStatus.badRequest) {
    throw ApiException(response.statusCode, await _decodeBodyBytes(response));
  }
}