Community discussions

MikroTik App
 
LoneRager
newbie
Topic Author
Posts: 41
Joined: Wed Nov 06, 2019 3:32 pm

Delete all SMS messages

Sat Jan 22, 2022 12:45 am

I want to simply delete all the messages in the inbox without having to manually click each one. When I try to run

tool/sms/inbox/remove

In CLI, it asks me for each message number, so 0,1,2 and so on. I just want to delete all the messages read or unread.

Any thoughts on how I can do this?
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3451
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Delete all SMS messages

Sat Jan 22, 2022 2:51 am

Pretty simple:
/tool sms inbox remove [find]
 
LoneRager
newbie
Topic Author
Posts: 41
Joined: Wed Nov 06, 2019 3:32 pm

Re: Delete all SMS messages

Sat Jan 22, 2022 2:54 am

Pretty simple:
/tool sms inbox remove [find]
And that did it. Thank you so much for the help!
 
User avatar
Amm0
Forum Guru
Forum Guru
Posts: 3451
Joined: Sun May 01, 2016 7:12 pm
Location: California

Re: Delete all SMS messages

Sat Jan 22, 2022 2:56 am

Pretty simple:
/tool sms inbox remove [find]
And that did it. Thank you so much for the help!
Yeah the [find] without any "where" means "all" isn't exactly obvious. But this works anywhere in RouterOS.

Who is online

Users browsing this forum: astons2, nz_monkey and 135 guests