FortiManager icon

FortiManager

Interact with FortiManager API

Firewall → Create Service Group

AI-generated

Summary

Create a firewall service group in a specified ADOM using the selected domain

Inputs

  • domain (required) — Domain of FortiManager API to operate on
  • adom (required) — Administrative Domain name
  • groupName (required) — Name of the service group
  • members (required) — Comma-separated list of service object names to include in the group
  • additionalFields.comment — Comment for the service group
  • additionalFields.color — Color code for GUI display (0-32)

Output shape

a list of created service group objects

Returned on success; may be empty on validation errors; errors are wrapped as {error: }

Examples

Example 1: Create a service group named 'Web_Services' in ADOM 'root' using Policy Manager domain, adding HTTP and HTTPS services with a comment and color

domain=pm, adom=root, groupName=Web_Services, members=HTTP,HTTPS, additionalFields.comment=Web services group, additionalFields.color=5

Discussion