Fortinet white logo
Fortinet white logo

Poll a FortiManager

Poll a FortiManager

Method

URL

Description

Arguments

Outputs

POST

/device/fortimanager/poll/

Poll a FortiManager.

id

JSON array

Arguments (URL)

None

Arguments

Parameter

Type

Description

id

int

The FortiManager 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/fortimanager/poll/

Example response

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

Poll a FortiManager

Poll a FortiManager

Method

URL

Description

Arguments

Outputs

POST

/device/fortimanager/poll/

Poll a FortiManager.

id

JSON array

Arguments (URL)

None

Arguments

Parameter

Type

Description

id

int

The FortiManager 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/fortimanager/poll/

Example response

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