deleteSmsMessages method
Delete all SMS messages
Delete all SMS messages or all messages for a given phone number
Parameters:
- String phoneNumberId:
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));
}
}