Description | This article describes how to use the cURL REST API script using the 'POST' method to create a new Network Container on FortiNAC. |
Scope | FortiNAC. |
Solution |
'FortiNAC's REST API is a standardized method for other systems to interact with FortiNAC to perform configuration and monitoring operations.'
--header 'Content-Type: application/json' \ --header 'Authorization: Bearer <API-Token-KEY>' \ --data-raw '{"name": "<Container-name>","id": <id-is-optional>}'
Note: The 'id' is optional.
Note: It is possible to add as many 'name' as needed. Once the postman is done on Postman, select 'Send'.
Then go to Network -> Inventory on FortiNAC, the container should be created.
Related documents: |