Update Fabric of FortiAnalyzer Group

Update Fabric of FortiAnalyzer Group#

Update existing Fabric of FortiAnalyzer group configuration.

✅ All code examples tested: Verified against FortiAnalyzer v7.4.8, v7.6.4, v8.0.0.

Overview#

This endpoint updates FAZ fabric group settings.

Endpoint Details#

Method: POST URL: /jsonrpc API Path: /cli/global/system/csf ADOM Support: No Requires Authentication: Yes Minimum Version: 7.4.0

Request Example#

{
    "method": "update",
    "params": [{
        "url": "/cli/global/system/csf",
        "data": {
            "name": "FAZ_Fabric_Group",
            "status": "disable"
        }
    }],
    "session": "{{session_id}}",
    "id": 1
}

Complete Python Example#

import requests
import urllib3

urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

def update_faz_fabric_group(session_id, name, status="enable"):
    """Update FAZ fabric group"""
    url = "https://faz.example.com/jsonrpc"

    payload = {
        "method": "update",
        "params": [{
            "url": "/cli/global/system/csf",
            "data": {
                "name": name,
                "status": status
            }
        }],
        "session": session_id,
        "id": 1
    }

    response = requests.post(url, json=payload, verify=False)
    result = response.json()

    if result['result'][0]['status']['code'] == 0:
        print(f"✓ FAZ fabric group '{name}' updated")
        return True
    else:
        raise Exception(f"API error: {result['result'][0]['status']['message']}")

# Example
update_faz_fabric_group(session_id="your_session_id", name="FAZ_Fabric_Group", status="enable")

Last Updated: 2025-11-10 API Version: 7.6.4+