Fortinet Document Library

Version:

Version:

Version:


Table of Contents

Administration Guide

Download PDF
Copy Link

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 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