Fortinet white logo
Fortinet white logo

Administration Guide

Add or update a group

Add or update a group

Add or updates a group.

https://<servername>:8443/api/group

Return Value: status

Example request

curl -k -u '<username>:<password>' -H "content-type: application/json" -X POST -d '{"id":1,"members":[{"id":1},{"id":6},{"id":17},{"id":22},{"id":21}],"childGroups":[]}' https://<servername>:8443/api/group

Example Response

SUCCESS

Add or update a group

Add or update a group

Add or updates a group.

https://<servername>:8443/api/group

Return Value: status

Example request

curl -k -u '<username>:<password>' -H "content-type: application/json" -X POST -d '{"id":1,"members":[{"id":1},{"id":6},{"id":17},{"id":22},{"id":21}],"childGroups":[]}' https://<servername>:8443/api/group

Example Response

SUCCESS