Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] API flush alias
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] API flush alias (Read 1410 times)
GaardenZwerch
Full Member
Posts: 104
Karma: 2
[SOLVED] API flush alias
«
on:
June 30, 2021, 11:57:48 am »
Hi,
I can successfully use API calls to list the content and flush an alias,
but after a few seconds, the contents gets restored 'magically'.
After a flush, the /conf/config.xml doesn't reflect that the alias should be empty, whereas a 'list' API call returns
{"total":0,"rowCount":-1,"current":1,"rows":[]}
Am I doing this wrong?
Thanks in advance,
Frank
«
Last Edit: June 30, 2021, 01:10:18 pm by GaardenZwerch
»
Logged
GaardenZwerch
Full Member
Posts: 104
Karma: 2
[SOLVED] Re: API flush alias
«
Reply #1 on:
June 30, 2021, 01:09:37 pm »
solved, thanks
https://docs.opnsense.org/manual/aliases.html
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
General Discussion
»
[SOLVED] API flush alias