Fortinet black logo

CLI Reference

api-user

Use this command to generate a key for API users.

Syntax

execute api-user generate-key <name>

Variable

Description

<name>

Enter the API user name.

Optionally, leave blank and press enter to list all API users.