FortiManager icon

FortiManager

Interact with FortiManager API

Firewall → Delete Service Group

AI-generated

Summary

Delete a service group in the specified Administrative Domain using the selected FortiManager API domain.

Inputs

  • domain (required) — API domain to operate on (e.g., pm, dvm, dvmdb, pm, securityConsole, sys, task).
  • adom (required) — Administrative Domain name where the service group resides.
  • groupName (required) — Name of the service group to delete.

Output shape

An array of objects representing the API response; typically empty on success, or contains a single error object on failure.

Pagination is not applicable; the response may be omitted if the operation succeeds, otherwise a single object with an 'error' field is returned.

Examples

Example 1: Delete a service group named 'web_servers' in ADOM 'root' using the Policy Manager domain.

domain=pm, adom=root, groupName=web_servers

Example 2: Remove a service group called 'email_traffic' in ADOM 'root' via the System domain.

domain=sys, adom=root, groupName=email_traffic

Example 3: Delete the service group 'vpn_clients' in ADOM 'root' using the Device Manager Database domain.

domain=dvmdb, adom=root, groupName=vpn_clients

Discussion