Fortinet white logo
Fortinet white logo

Get all licenses

Get all licenses

Method

URL

Description

Arguments

Outputs

GET

system/licenses/

List all licenses

none

JSON array

Arguments

None

Outputs

Parameter

Type

Description

JSON array

Array of licenses. One entry per license, each record contains a unique ID.

Example request

curl -k -X GET -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" https://<ip_address>/fpc/v1/api/system/licenses/

Example response

[

{

"device_allowed" : 5000,

"expiry_date" : "2023-07-08T17:11:14Z",

"host" : "XXX.XXX.XXX.XXX",

"id" : 1,

"serial_number" : "FPC-VMTMXXXXXXX",

"status" : "valid"

}

]

Get all licenses

Get all licenses

Method

URL

Description

Arguments

Outputs

GET

system/licenses/

List all licenses

none

JSON array

Arguments

None

Outputs

Parameter

Type

Description

JSON array

Array of licenses. One entry per license, each record contains a unique ID.

Example request

curl -k -X GET -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" https://<ip_address>/fpc/v1/api/system/licenses/

Example response

[

{

"device_allowed" : 5000,

"expiry_date" : "2023-07-08T17:11:14Z",

"host" : "XXX.XXX.XXX.XXX",

"id" : 1,

"serial_number" : "FPC-VMTMXXXXXXX",

"status" : "valid"

}

]