Fortinet white logo
Fortinet white logo

CLI Reference

execute api-user

execute api-user

api-user

This topic includes the following commands:

execute api-user generate-key

Generate key for API users.

execute api-user generate-key <name> <expiry>

Parameter

Description

Type

Size

<name>

API user name.

string

<expiry>

Expiry of API key in minutes from now (valid range: 1 - 10080). This can only be set for Fortinet Support Tool user.

string

execute api-user

execute api-user

api-user

This topic includes the following commands:

execute api-user generate-key

Generate key for API users.

execute api-user generate-key <name> <expiry>

Parameter

Description

Type

Size

<name>

API user name.

string

<expiry>

Expiry of API key in minutes from now (valid range: 1 - 10080). This can only be set for Fortinet Support Tool user.

string