Fortinet white logo
Fortinet white logo

Upload a license

Upload a license

Method

URL

Description

Arguments

Outputs

POST

system/licenses/upload

Upload a license

JSON array

Arguments (URL)

None.

Arguments (form data)

Parameter

Type

Description

license

file

The license file

Outputs

None.

Example request

curl -k -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" -F "license=@./FPC-VMTM22000229.lic" -X POST https://<ip_address>/fpc/v1/api/system/licenses/upload/

Example response

{

}

Upload a license

Upload a license

Method

URL

Description

Arguments

Outputs

POST

system/licenses/upload

Upload a license

JSON array

Arguments (URL)

None.

Arguments (form data)

Parameter

Type

Description

license

file

The license file

Outputs

None.

Example request

curl -k -H "Authorization: Token 9fb3fa217a23edbf50c8c358dab61beb07f6e8a191ecc597568f45e9455846e6" -F "license=@./FPC-VMTM22000229.lic" -X POST https://<ip_address>/fpc/v1/api/system/licenses/upload/

Example response

{

}