Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
API Interfaces Assignments
« previous
next »
Print
Pages: [
1
]
Author
Topic: API Interfaces Assignments (Read 534 times)
fabrice
Newbie
Posts: 7
Karma: 0
API Interfaces Assignments
«
on:
June 15, 2024, 05:59:07 pm »
Hi,
I am working on some scripts to automate my network management and I am trying to find the api calls for assigning new interfaces. In this case I am trying to assign my new wireguards through the API.
I looked through the documents and also inspected api calls by the web ui and it seems it dosent use an api call but a form submit.
Am I wrong in understanding that assigning new interfaces is currently not supported by the API? Or is it just documented in another section than
https://docs.opnsense.org/development/api/core/interfaces.html
?
Thanks
«
Last Edit: June 15, 2024, 06:26:22 pm by fabrice
»
Logged
DengelFred
Newbie
Posts: 1
Karma: 0
Re: API Interfaces Assignments
«
Reply #1 on:
June 17, 2024, 04:49:16 pm »
As far as I know, there is no API call for adding interfaces. Currently I modify the config.xml directly to add interface assignments.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
24.1 Legacy Series
»
API Interfaces Assignments