Fortinet white logo
Fortinet white logo

Poll a FortiAnalyzer

Poll a FortiAnalyzer

Method

URL

Description

Arguments

Outputs

POST

/device/fortianalyzer/poll/

Poll a FortiAnalyzer.

id

JSON array

Arguments (URL)

None

Arguments

Parameter

Type

Description

id

int

The FortiAnalyzer ID

Outputs

Parameter

Type

Description

status

JSON array

A success or failure message

Example request

curl -k -X POST -H "Content-Type: application/json" -H "Authorization: Token 52ed51a5e5bbb3d0b3ee200af1506921e7bd0a8d5c1921ce781e85fa52e956ca" -d '{"id": 1}' https://<ip_address>/fpc/v1/api/device/fortianalyzer/poll/

Example response

{
    "status": {
        "code": 0, 
        "message": "success"
    }
}

Poll a FortiAnalyzer

Poll a FortiAnalyzer

Method

URL

Description

Arguments

Outputs

POST

/device/fortianalyzer/poll/

Poll a FortiAnalyzer.

id

JSON array

Arguments (URL)

None

Arguments

Parameter

Type

Description

id

int

The FortiAnalyzer ID

Outputs

Parameter

Type

Description

status

JSON array

A success or failure message

Example request

curl -k -X POST -H "Content-Type: application/json" -H "Authorization: Token 52ed51a5e5bbb3d0b3ee200af1506921e7bd0a8d5c1921ce781e85fa52e956ca" -d '{"id": 1}' https://<ip_address>/fpc/v1/api/device/fortianalyzer/poll/

Example response

{
    "status": {
        "code": 0, 
        "message": "success"
    }
}