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>

Optional expiry of API key in minutes from now (valid range: 1 - 10080)

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>

Optional expiry of API key in minutes from now (valid range: 1 - 10080)

string