As you begin working with the SMC API, see these examples as a reference.
Use the SMC API to find and configure hosts and Host elements.
Forcepoint FlexEdge Secure SD-WAN Manager (SMC) is part of the Forcepoint FlexEdge Secure SD-WAN solution. You can access the SMC in two ways: through the Management Client or through the SMC application programming interface (API).
The Application Programming Interface (API) of SMC allows external applications to connect with the SMC.
You can use WebSockets with the SMC API to monitor status information and browse log data.
The SMC API is a RESTful API that includes these features.
Each entry point contains an operation verb and other information to direct the user to a URI.
You can retrieve elements from the API in both JSON and XML formats.
You can manage resource elements with several operations.
The API makes it possible to execute specific searches, such as unused elements or duplicate IP addresses.
These tasks give the client access to the SMC through the API.
After logon, you can get a list of all defined hosts with this request:
Use filters to narrow your element search.
Create a host with the JSON format.
After logon, you must first search for the host and then you can modify an existing host.
After logon, you must first search for the host and then you can find and delete an existing host.
Use the SMC API to import IP address lists.
The SMC API can be used to modify, upload, and monitor the status of Policy elements.
You can use the SMC API to configure gateways, certificates, VPN topology, and settings for VPNs.
It is possible to filter searches by group type.
You can retrieve static or dynamic routing information from an engine.