Skip to content
Connector

Fortinet FortiFlex

FortiFlex is a points-based program that empowers organizations to provision the Fortinet services and solutions, and offers the flexibility to scale their…

@ftnt-dspilleMaintainer v1.1.0 Published Oct 13, 2026
Download .tgz · 20 KB

fortinet-fortiflex_1.1.0.tgz

sha256:1b26c1c3e2c3815c357a87a65139591faa2ed02e32b9a2eca5272e0e8e1ff4af
Source repository

Community code that runs on your platform. A maintainer reviewed this exact source; the download is rebuilt from it. Follow the to install it.

Configuration · 5 fields

  • Server URL server text required

    Specify the URL of the FortiFlex server to connect and perform automated operations.

    Default https://support.fortinet.com

  • Username username text required

    Specify the username to access the FortiFlex server to connect and perform automated operations.

  • Password password password required

    Specify the password to access the FortiFlex server to connect and perform automated operations.

  • Client ID client_id text required

    Specify the ID of the client to access the FortiFlex server to connect and perform automated operations.

  • Verify SSL verify_ssl checkbox

    Select whether the SSL certificate for the server is to be verified. By default, this option is set to True.

    Default true

Operations · 18

  • Get All Program List
    get_programs

    Retrieves the list of programs for an account from FortiFlex.

    No parameters.

    Returns errorstatusmessageprograms
  • Create Configuration 4 params
    create_configuration

    Creates a new configuration under a specific program in FortiFlex based on the program serial number, configuration name, product type, and the account ID that you have specified.

    • Program Serial Number programSerialNumber text required

      Specify the serial number of the program based on which to create a new configuration in FortiFlex.

    • Configuration Name name text required

      Specify the name of the configuration being created in FortiFlex.

    • Product Type productTypeId select required

      Select the product type for which you want to create a new configuration in FortiFlex. You can select from the following options: FortiGate Virtual Machine - Service Bundle, FortiGate Virtual Machine - A La Carte Services, etc.

      Options FortiGate Virtual Machine - Service BundleFortiGate Virtual Machine - A La Carte ServicesFortiWeb Virtual Machine - Service BundleFortiClient EMS On-PremFortiManager Virtual MachineFortiAnalyzer Virtual MachineFortiPortal Virtual MachineFortiADC Virtual MachineFortiGate HardwareFortiWeb Cloud - PrivateFortiWeb Cloud - Public

      When Product Type is FortiGate Virtual Machine - Service Bundle

      • Number of CPUs FGTVMSBCpuSize select required

        Select the number of CPUs for the configuration being created in FortiFlex. You can choose from the following options: 1 CPU, 2 CPU, 4 CPU, etc.

        Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs32 CPUsUnlimited CPUs
      • Service Package FGTVMSBServicePackage select required

        Select the service package for the configuration being created in FortiFlex. You can choose from the following options: FortiCare, UTP, Enterprise, or ATP.

        Options FortiCareUTPEnterpriseATP
      • VDOMs FGTVMSBVDOMs integer

        Specify the number of VDOMs for the configuration being created in FortiFlex.

      When Product Type is FortiGate Virtual Machine - A La Carte Services

      • Number of CPUs FGTVMALCSCpuSize integer required

        Specify the number of CPUs for the configuration being created in FortiFlex. You can specify a minimum of 1 and maximum of 96 CPUs.

      • Support Services FGTVMALCSSupportServices select required

        Select the support services for the configuration being created in FortiFlex. You can choose from the following options: FortiCare Premium or FortiCare Elite.

        Options FortiCare PremiumFortiCare Elite
      • FortiGuard Services FGTVMALCSFortiGuardServices multiselect

        Select the fortiGuard services for the configuration being created in FortiFlex. You can select one or more of the following options: Intrusion Prevention, Advanced Malware, Security Rating, etc.

        Options Intrusion PreventionAdvanced MalwareSecurity RatingDLPAI-Based InLine SandboxWeb, DNS & Video Filtering
      • Cloud Services FGTVMALCSCloudServices multiselect

        Select the cloud services for the configuration being created in FortiFlex. You can select one or more of the following options: FortiGate Cloud, SD-WAN Underlay, FortiAnalyzer Cloud with SOCaaS, or FortiAnalyzer Cloud.

        Options FortiGate CloudSD-WAN UnderlayFortiAnalyzer Cloud with SOCaaSFortiAnalyzer Cloud
      • VDOMs FGTVMALCSVDOMs integer

        Specify the number of VDOMs for the configuration being created in FortiFlex. You can specify a minimum of 0 and maximum of 500 VDOMs.

      When Product Type is FortiWeb Virtual Machine - Service Bundle

      • Number of CPUs FWBVMSBCpuSize select required

        Select the number of CPUs for the configuration being created in FortiFlex. You can choose from the following options: 1 CPU, 2 CPU, 4 CPU, etc.

        Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs
      • Service Package FWBVMSBServicePackage select required

        Select the service package for the configuration being created in FortiFlex. You can choose from the following options: Standard or Advanced.

        Options StandardAdvanced

      When Product Type is FortiClient EMS On-Prem

      • Number of Endpoints for ZTNA/VPN FCLTZtna integer required

        Specify the count of ZTNA/VPN endpoints for the configuration being created in FortiFlex.

      • Number of Endpoints for EPP/ATP + ZTNA/VPN FCLTEpp integer required

        Specify the count of EPP/ATP + ZTNA/VPN endpoints for the configuration being created in FortiFlex.

      • Number of Endpoints for Chromebook FCLTChromebook integer required

        Specify the count of Chromebook endpoints for the configuration being created in FortiFlex.

      • Support Services FCLTSupportServices select required

        Select the support services for the configuration being created in FortiFlex. Only FortiCare Premium is available for now.

        Options FortiCare Premium
      • Addons FCLTAddons select

        Select the addons for the configuration being created in FortiFlex. Only FortiCare Best Practice is available for now.

        Options FortiCare Best Practice

      When Product Type is FortiManager Virtual Machine

      • Number of Managed Devices FMGVMManagedDevices integer required

        Specify the count of managed devices for the configuration being created in FortiFlex.

      • Number of ADOMs FMGVMAdoms integer required

        Specify the count of ADOMs for the configuration being created in FortiFlex.

      When Product Type is FortiAnalyzer Virtual Machine

      • Daily Storage (GB) FAZVMDailyStorage integer required

        Specify the daily storage, in GB, for the configuration being created in FortiFlex.

      • Number of ADOMs FAZVMAdoms integer required

        Specify the count of ADOMs for the configuration being created in FortiFlex.

      • Support Services FAZSupportServices select required

        Select the support services for the configuration being created in FortiFlex. Only FortiCare Premium is available for now.

        Options FortiCare Premium

      When Product Type is FortiPortal Virtual Machine

      • Number of Managed Devices FPTLManagedDevices integer required

        Specify the count of managed devices for the configuration being created in FortiFlex.

      When Product Type is FortiADC Virtual Machine

      • Number of CPUs FADCVMCpuSize select required

        Select the number of CPUs for the configuration being created in FortiFlex. You can choose from the following options: 1 CPU, 2 CPU, 4CPU, etc.

        Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs32 CPUs
      • Service Package FADCVMServicePackage select required

        Select the service package for the configuration being created in FortiFlex. You can choose from the following options: Standard, Advanced, or FortiCare Premium.

        Options StandardAdvancedFortiCare Premium

      When Product Type is FortiGate Hardware

      • Device Model FGTHDeviceModel select required

        Select the device model for the configuration being created in FortiFlex. You can choose from the following options: FortiGate-40F, FortiGate-70F, FortiGate-80F, etc.

        Options FortiGate-40FFortiGate-60FFortiGate-70FFortiGate-80FFortiGate-100FFortiGate-60EFortiGate-61FFortiGate-100EFortiGate-101FFortiGate-200EFortiGate-200FFortiGate-201FFortiGate-400FFortiGate-600FFortiWifi-40FFortiWifi-60FFortiGateRugged-60FFortiGateRugged-70FFortiGate-81FFortiGate-101EFortiGate-401FFortiGate-1000FFortiGate-1800FFortiGate-2600FFortiGate-3000FFortiGate-3001FFortiGate-3200F
      • Service Package FCLTServicePackage select required

        Select the service package for the configuration being created in FortiFlex. You can choose from the following options: FortiCare Premium, FortiCare Elite, ATP, UTP, or Enterprise.

        Options FortiCare PremiumFortiCare EliteATPUTPEnterprise
      • Addons FCLTAddons multiselect

        Select the addons for the configuration being created in FortiFlex. You can select one or more of the following options: FortiCare Elite Upgrade, FortiGate Cloud Management, AI-Based In-line Sandbox, etc. NOTE: FortiCare Elite Upgrade as an add-on is not applicable when the Service Package selected is FortiCare Premium or FortiCare Elite.

        Options FortiCare Elite UpgradeFortiGate Cloud ManagementAI-Based In-line SandboxSD-WAN UnderlayFortiGuard DLPFortiAnalyzer CloudSOCaaSManaged FortiGateSD-WAN Connector for FortiSASEFortiConverter Service

      When Product Type is FortiWeb Cloud - Private

      • Average Throughput FWBCPVTAvgThroughput select required

        Select the average throughput for the configuration being created in FortiFlex.

        Options 10 Mbps25 Mbps50 Mbps75 Mbps100 Mbps150 Mbps200 Mbps250 Mbps300 Mbps350 Mbps400 Mbps450 Mbps500 Mbps600 Mbps700 Mbps800 Mbps900 Mbps1000 Mbps1500 Mbps2000 Mbps2500 Mbps3000 Mbps3500 Mbps4000 Mbps4500 Mbps5000 Mbps5500 Mbps6000 Mbps6500 Mbps7000 Mbps7500 Mbps8000 Mbps8500 Mbps9000 Mbps9500 Mbps10000 Mbps
      • Web Applications FWBCPVTWebApp integer required

        Specify the number of web applications for the configuration being created in FortiFlex.

      When Product Type is FortiWeb Cloud - Public

      • Average Throughput FWBCPUBAvgThroughput select required

        Select the average throughput for the configuration being created in FortiFlex.

        Options 10 Mbps25 Mbps50 Mbps75 Mbps100 Mbps150 Mbps200 Mbps250 Mbps300 Mbps350 Mbps400 Mbps450 Mbps500 Mbps600 Mbps700 Mbps800 Mbps900 Mbps1000 Mbps1500 Mbps2000 Mbps2500 Mbps3000 Mbps3500 Mbps4000 Mbps4500 Mbps5000 Mbps5500 Mbps6000 Mbps6500 Mbps7000 Mbps7500 Mbps8000 Mbps8500 Mbps9000 Mbps9500 Mbps10000 Mbps
      • Web Applications FWBCPUBWebApp integer required

        Specify the number of web applications for the configuration being created in FortiFlex.

    • Account ID accountId integer

      Specify the ID of the account based on which you want to create a new configuration in FortiFlex..

    Returns errorstatusconfigsmessage
  • Get All Configuration List 2 params
    get_configurations

    Retrieves the list of configurations for a program from FortiFlex based on the program serial number and the account ID you have specified.

    • Program Serial Number programSerialNumber text required

      Specify the serial number of the program based on which you want to retrieve configurations from FortiFlex.

    • Account ID accountId integer

      Specify the ID of the account based on which you want to retrieve configurations from FortiFlex.

    Returns errorstatusconfigsmessage
  • Enable Configuration 1 param
    enable_configuration

    Enables a specific configuration of a program in FortiFlex based on the configuration ID you have specified. NOTE: Enabling a configuration affects all virtual machines which were created based on that configuration.

    • Configuration ID id integer required

      Specify the ID of the configuration to enable in FortiFlex.

    Returns errorstatusconfigsmessage
  • Disable Configuration 1 param
    disable_configuration

    Disables a specific configuration of a program in FortiFlex based on the configuration ID you have specified.NOTE: Disabling a configuration affects all virtual machines which were created based on that configuration.

    • Configuration ID id integer required

      Specify the ID of the configuration to disable in FortiFlex.

    Returns errorstatusconfigsmessage
  • Update Configuration 3 params
    update_configuration

    Updates an existing configuration in FortiFlex based on the configuration ID, configuration name, and the product type that you have specified. NOTE: Updating a configuration's parameters, such as the number of CPUs, affects all virtual machines which were created based on that configuration.

    • Configuration ID id integer required

      SSpecify the ID of the configuration being updated in FortiFlex.

    • Configuration Name name text required

      Specify the name of the configuration being updated in FortiFlex.

    • Product Type productTypeId select required

      Select the product type to update in FortiFlex. You can select from the following options: FortiGate Virtual Machine - Service Bundle, FortiGate Virtual Machine - A La Carte Services, etc.

      Options FortiGate Virtual Machine - Service BundleFortiGate Virtual Machine - A La Carte ServicesFortiWeb Virtual Machine - Service BundleFortiClient EMS On-PremFortiManager Virtual MachineFortiAnalyzer Virtual MachineFortiPortal Virtual MachineFortiADC Virtual MachineFortiGate HardwareFortiWeb Cloud - PrivateFortiWeb Cloud - Public

      When Product Type is FortiGate Virtual Machine - Service Bundle

      • Number of CPUs FGTVMSBCpuSize select required

        Select the number of CPUs for the configuration being updated in FortiFlex. You can choose from the following options: 1 CPU, 2 CPUs, 4 CPUs, etc.

        Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs32 CPUsUnlimited CPUs
      • Service Package FGTVMSBServicePackage select required

        Select the service package for the configuration being updated in FortiFlex. You can choose from the following options: FortiCare, UTP, Enterprise, or ATP.

        Options FortiCareUTPEnterpriseATP
      • VDOMs FGTVMSBVDOMs integer

        Specify the number of VDOMs for the configuration being updated in FortiFlex.

      When Product Type is FortiGate Virtual Machine - A La Carte Services

      • Number of CPUs FGTVMALCSCpuSize integer required

        Specify the number of CPUs for the configuration being updated in FortiFlex. You can specify a minimum of 1 and maximum of 96 CPUs.

      • Support Services FGTVMALCSSupportServices select required

        Select the support services for the configuration being updated in FortiFlex. You can choose from the following options: FortiCare Premium or FortiCare Elite.

        Options FortiCare PremiumFortiCare Elite
      • FortiGuard Services FGTVMALCSFortiGuardServices multiselect

        Select the fortiGuard services for the configuration being updated in FortiFlex. You can select one or more of the following options: Intrusion Prevention, Advanced Malware, etc.

        Options Intrusion PreventionAdvanced MalwareSecurity RatingDLPAI-Based InLine SandboxWeb, DNS & Video Filtering
      • Cloud Services FGTVMALCSCloudServices multiselect

        Select the cloud services for the configuration being updated in FortiFlex. You can select one or more of the following options: FortiGate Cloud, SD-WAN Underlay, FortiAnalyzer Cloud with SOCaaS, or FortiAnalyzer Cloud.

        Options FortiGate CloudSD-WAN UnderlayFortiAnalyzer Cloud with SOCaaSFortiAnalyzer Cloud
      • VDOMs FGTVMALCSVDOMs integer

        Specify the number of VDOMs for the configuration being updated in FortiFlex. You can specify a minimum of 0 and maximum of 500 VDOMs.

      When Product Type is FortiWeb Virtual Machine - Service Bundle

      • Number of CPUs FWBVMSBCpuSize select required

        Select the number of CPUs for the configuration being updated in FortiFlex. You can choose from the following options: 1 CPU, 2 CPUs, 4 CPUs, etc.

        Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs
      • Service Package FWBVMSBServicePackage select required

        Select the service package for the configuration being updated in FortiFlex. You can choose from the following options: Standard or Advanced.

        Options StandardAdvanced

      When Product Type is FortiClient EMS On-Prem

      • Number of Endpoints for ZTNA/VPN FCLTZtna integer required

        Specify the count of ZTNA/VPN endpoints for the configuration being updated in FortiFlex.

      • Number of Endpoints for EPP/ATP + ZTNA/VPN FCLTEpp integer required

        Specify the count of EPP/ATP + ZTNA/VPN endpoints for the configuration being updated in FortiFlex.

      • Number of Endpoints for Chromebook FCLTChromebook integer required

        Specify the count of Chromebook endpoints for the configuration being updated in FortiFlex.

      • Support Services FCLTSupportServices select required

        Select the support services for the configuration being updated in FortiFlex. Only FortiCare Premium is available for now.

        Options FortiCare Premium
      • Addons FCLTAddons select

        Select the addons for the configuration being updated in FortiFlex. Only FortiCare Best Practice is available for now.

        Options FortiCare Best Practice

      When Product Type is FortiManager Virtual Machine

      • Number of Managed Devices FMGVMManagedDevices integer required

        Specify the count of managed devices for the configuration being updated in FortiFlex.

      • Number of ADOMs FMGVMAdoms integer required

        Specify the count of ADOMs for the configuration being updated in FortiFlex.

      When Product Type is FortiAnalyzer Virtual Machine

      • Daily Storage (GB) FAZVMDailyStorage integer required

        Specify the daily storage, in GB, for the configuration being updated in FortiFlex.

      • Number of ADOMs FAZVMAdoms integer required

        Specify the count of ADOMs for the configuration being updated in FortiFlex.

      • Support Services FAZSupportServices select required

        Select the support services for the configuration being updated in FortiFlex. Only FortiCare Premium is available for now.

        Options FortiCare Premium

      When Product Type is FortiPortal Virtual Machine

      • Number of Managed Devices FPTLManagedDevices integer required

        Specify the count of managed devices for the configuration being updated in FortiFlex.

      When Product Type is FortiADC Virtual Machine

      • Number of CPUs FADCVMCpuSize select required

        Select the number of CPUs for the configuration being updated in FortiFlex. You can choose from the following options: 1 CPU, 2 CPUs, 4 CPUs, etc.

        Options 1 CPU2 CPUs4 CPUs8 CPUs16 CPUs32 CPUs
      • Service Package FADCVMServicePackage select required

        Select the service package for the configuration being updated in FortiFlex. You can choose from the following options: Standard, Advanced, or FortiCare Premium.

        Options StandardAdvancedFortiCare Premium

      When Product Type is FortiGate Hardware

      • Device Model FGTHDeviceModel select required

        Select the device model for the configuration being updated in FortiFlex. You can choose from the following options: FortiGate-40F, FortiGate-60F, FortiGate-70F, etc.

        Options FortiGate-40FFortiGate-60FFortiGate-70FFortiGate-80FFortiGate-100FFortiGate-60EFortiGate-61FFortiGate-100EFortiGate-101FFortiGate-200EFortiGate-200FFortiGate-201FFortiGate-400FFortiGate-600FFortiWifi-40FFortiWifi-60FFortiGateRugged-60FFortiGateRugged-70FFortiGate-81FFortiGate-101EFortiGate-401FFortiGate-1000FFortiGate-1800FFortiGate-2600FFortiGate-3000FFortiGate-3001FFortiGate-3200F
      • Service Package FCLTServicePackage select required

        Select the service package for the configuration being updated in FortiFlex. You can choose from the following options: FortiCare Premium, FortiCare Elite, ATP, UTP, or Enterprise.

        Options FortiCare PremiumFortiCare EliteATPUTPEnterprise
      • Addons FCLTAddons multiselect

        Select the addons for the configuration being updated in FortiFlex. You can select one or more of the following options: FortiCare Elite Upgrade, FortiGate Cloud Management, AI-Based In-line Sandbox, etc. NOTE: FortiCare Elite Upgrade as an add-on is not applicable when the Service Package selected is FortiCare Premium or FortiCare Elite.

        Options FortiCare Elite UpgradeFortiGate Cloud ManagementAI-Based In-line SandboxSD-WAN UnderlayFortiGuard DLPFortiAnalyzer CloudSOCaaSManaged FortiGateSD-WAN Connector for FortiSASEFortiConverter Service

      When Product Type is FortiWeb Cloud - Private

      • Average Throughput FWBCPVTAvgThroughput select required

        Select the average throughput for the configuration being updated in FortiFlex.

        Options 10 Mbps25 Mbps50 Mbps75 Mbps100 Mbps150 Mbps200 Mbps250 Mbps300 Mbps350 Mbps400 Mbps450 Mbps500 Mbps600 Mbps700 Mbps800 Mbps900 Mbps1000 Mbps1500 Mbps2000 Mbps2500 Mbps3000 Mbps3500 Mbps4000 Mbps4500 Mbps5000 Mbps5500 Mbps6000 Mbps6500 Mbps7000 Mbps7500 Mbps8000 Mbps8500 Mbps9000 Mbps9500 Mbps10000 Mbps
      • Web Applications FWBCPVTWebApp integer required

        Specify the number of web applications for the configuration being updated in FortiFlex.

      When Product Type is FortiWeb Cloud - Public

      • Average Throughput FWBCPUBAvgThroughput select required

        Select the average throughput for the configuration being updated in FortiFlex.

        Options 10 Mbps25 Mbps50 Mbps75 Mbps100 Mbps150 Mbps200 Mbps250 Mbps300 Mbps350 Mbps400 Mbps450 Mbps500 Mbps600 Mbps700 Mbps800 Mbps900 Mbps1000 Mbps1500 Mbps2000 Mbps2500 Mbps3000 Mbps3500 Mbps4000 Mbps4500 Mbps5000 Mbps5500 Mbps6000 Mbps6500 Mbps7000 Mbps7500 Mbps8000 Mbps8500 Mbps9000 Mbps9500 Mbps10000 Mbps
      • Web Applications FWBCPUBWebApp integer required

        Specify the number of web applications for the configuration being updated in FortiFlex.

    Returns errorstatusconfigsmessage
  • Create VM Entitlements 5 params
    create_vm_entitlements

    Creates a VM entitlement in FortiFlex based on the configuration ID, count, folder path, description, and end datetime that you have specified.

    • Configuration ID configId integer required

      Specify the ID of the configuration based on which you want to create VM entitlements in FortiFlex.

    • Count count integer required

      Specify the count of VM entitlements to create in FortiFlex.

    • Folder Path folderPath text required

      Specify the folder path of VM entitlements to create in FortiFlex.

    • Description description text

      Specify a brief description of VM entitlements to create in FortiFlex.

    • End DateTime endDate datetime

      Specify the end date time of VM entitlements being created in FortiFlex. NOTE: By passing null or leaving the field blank, the entitlement uses the Program's end date automatically.

    Returns errorstatusmessageentitlements
  • Create Hardware Entitlements 3 params
    create_hardware_entitlements

    Creates a hardware entitlement in FortiFlex based on the configuration ID, serial numbers, and end datetime that you have specified.

    • Configuration ID configId integer required

      Specify the ID of the configuration based on which you want to create a hardware entitlements in FortiFlex.

    • Serial Numbers serialNumbers text required

      Specify the serial numbers of the hardware entitlements to create in FortiFlex. You can specify multiple serial numbers as comma-separated values.

    • End DateTime endDate datetime

      Specify the end datetime of the hardware entitlements to create in FortiFlex. NOTE: By passing null or leaving the field blank, the entitlement uses the Program's end date automatically.

    Returns statusmessageerrorentitlements
  • Get All Entitlement List 1 param
    get_entitlements

    Retrieves the list of existing entitlements for a configuration from FortiFlex based on the configuration ID or account ID you have specified.

    • Fetch Based On filter select required

      Select an option to filter entitlements retrieved by this operation. You can choose from following options: Configuration ID or Account ID and Program Serial Number.

      Options Configuration IDAccount ID and Program Serial Number

      When Fetch Based On is Configuration ID

      • Configuration ID configId integer required

        Specify the configuration ID, in the configuration ID field, to retrieve entitlements from FortiFlex.

      When Fetch Based On is Account ID and Program Serial Number

      • Account ID accountId integer required

        Specify the account ID to retrieve entitlements from FortiFlex.

      • Program Serial Number programSerialNumber text required

        Specify the program serial number to retrieve entitlements from FortiFlex.

    Returns errorstatusmessageentitlements
  • Update Entitlements 4 params
    update_entitlements

    Update an entitlements details in FortiFlex based on the configuration ID, serial number, description, and end datetime that you have specified.

    • Configuration ID configId integer required

      Specify the configuration ID of the entitlements to update in FortiFlex.

    • Serial Number serialNumber text required

      Specify the serial number of the entitlements to update in FortiFlex.

    • Description description text required

      Specify the brief description of the entitlements to update in FortiFlex.

    • End DateTime endDate datetime required

      Specify the end datetime of the entitlements to update in FortiFlex.

    Returns statusmessageerrorentitlements
  • Stop Entitlement 1 param
    stop_entitlement

    Stop an entitlement in FortiFlex based on the serial number you have specified.

    • Serial Number serialNumber text required

      Specify the serial number of the entitlement to stop in FortiFlex.

    Returns statusmessageerrorentitlements
  • Reactivate Entitlement 1 param
    reactivate_entitlement

    Reactivate an entitlement after being stopped in FortiFlex based on the serial number you have specified.

    • Serial Number serialNumber text required

      Specify the serial number of the entitlement to reactivate in FortiFlex.

    Returns statusmessageerrorentitlements
  • Transfer Entitlement 5 params
    transfer_entitlement

    Move serial numbers and entitlements managed by FortiFlex from one account to another based on the source account ID, target account ID, and other input parameters you have specified.

    • Source Account ID sourceAccountId integer required

      Specify the source account ID from where the entitlements are being transferred in FortiFlex.

    • Source Config ID sourceConfigId integer required

      Specify the source config ID associated with the entitlements being transferred in FortiFlex.

    • Serial Number serialNumbers text required

      Specify the comma-separated serial numbers of the entitlements being transferred in FortiFlex.

    • Target Account ID targetAccountId integer required

      Specify the target account ID to where the entitlements are being transferred in FortiFlex.

    • Target Config ID targetConfigId integer

      Specify the target config ID associated with the entitlements being transferred in FortiFlex.

    Returns statusmessageerrorentitlements
  • Regenerate Token for VM 1 param
    regenerate_token_for_vm

    Regenerate token for a VM in FortiFlex based on the serial number you have specified.

    • Serial Number serialNumber text required

      Specify the serial number of the VM to regenerate its token in FortiFlex.

    Returns statusmessageerrorentitlements
  • Get Point Usage for VM 3 params
    get_point_usage_for_vm

    Retrieves the total points consumed by one or more virtual machines in a date range in FortiFlex based on the datetime range and other parameters you have specified.

    • Fetch Based On filter select required

      Select an option to filter points usage retrieved by this operation. You can choose from following options: Configuration ID or Account ID and Program Serial Number.

      Options Configuration IDAccount ID and Program Serial Number

      When Fetch Based On is Configuration ID

      • Configuration ID configId integer required

        Specify the configuration ID, in the configuration ID field, to retrieve points usage from FortiFlex.

      When Fetch Based On is Account ID and Program Serial Number

      • Account ID accountId integer required

        Specify the account ID to retrieve points usage from FortiFlex.

      • Program Serial Number programSerialNumber text required

        Specify the program serial number to retrieve points usage from FortiFlex.

    • Start DateTime startDate datetime required

      Specify the start date and time of the points usage to retrieve points for a VM in FortiFlex.

    • End DateTime endDate datetime required

      Specify the end date and time of the points usage to retrieve points for a VM in FortiFlex.

    Returns statusmessageerrorentitlements
  • Get All Group List 1 param
    get_groups

    Retrieves the list of groups from FortiFlex based on the account ID you have specified.

    • Account ID accountId integer required

      Specify the ID of the account to retrieve its groups from FortiFlex.

    Returns errorgroupsstatusmessage
  • Get NextToken for Group 3 params
    get_group_next_token

    Retrieves first available token from FortiFlex based on the account ID and other input parameters you have specified.

    • Account ID accountId integer required

      Specify the ID of the account to retrieve its NextToken from FortiFlex.

    • Config ID configId text

      Specify the ID of the config associated with the account to retrieve its NextToken from FortiFlex.

    • Asset Folder Path folderPath text

      Specify the folder path of the asset to retrieve its NextToken from FortiFlex.

    Returns errorstatusmessageentitlements
  • Execute API Request 4 params
    execute_api_request

    Calls any endpoint of the FortiFlex HTTP API with the configured credentials. A full URL is refused so the credentials only ever go to the configured server.

    • Endpoint endpoint text required

      Path on the configured server, for example /ES/api/fortiflex/v2/programs/list. A full URL is refused.

    • Method method select

      HTTP method to use. Defaults to GET.

      Default GET

      Options GETPOSTPUTPATCHDELETE
    • Query Parameters query_params json

      (Optional) JSON object of query string parameters to send with the request.

    • Request Body request_body json

      (Optional) JSON object sent as the request body with POST, PUT and PATCH.

Something wrong with this item? Sign in to report

Report a problem

Sensitive data, copied content, broken imports, anything that shouldn't be here.

At least 10 characters. Please don't paste the sensitive value itself.0/1000