fmgr_user_fortitoken
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Collection: fortinet.fortimanager
Full Name: fortinet.fortimanager.fmgr_user_fortitoken
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiManager through native controller JSON-RPC and httpapi inventory
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| adom | str | yes | ||
| bypass_validation | bool | false | ||
| enable_log | bool | false | ||
| forticloud_access_token | str | |||
| proposed_method | str | |||
| rc_failed | list | |||
| rc_succeeded | list | |||
| revision_note | str | |||
| state | str | yes | ||
| user_fortitoken | dict | |||
| workspace_locking_adom | str | |||
| workspace_locking_timeout | int | 300 |
Example
yaml
- fortinet.fortimanager.fmgr_user_fortitoken:
adom: ansible
bypass_validation: false
state: present
user_fortitoken:
comments: ansible-comment
serial_number: FTK2000000000000
status: lock
name: Configure FortiToken.