config system api-user
Configure API users.
config system api-user
Description: Configure API users.
edit <name>
set comments {var-string}
set api-key {password-2}
set accprofile {string}
set vdom <name1>, <name2>, ...
set schedule {string}
set cors-allow-origin {string}
set peer-auth [enable|disable]
set peer-group {string}
config trusthost
Description: Trusthost.
edit <id>
set type [ipv4-trusthost|ipv6-trusthost]
set ipv4-trusthost {ipv4-classnet}
set ipv6-trusthost {ipv6-prefix}
next
end
next
end
config system api-user
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
comments |
Comment. |
var-string |
Not Specified |
|
||||||
api-key |
Admin user password. |
password-2 |
Not Specified |
|
||||||
accprofile |
Admin user access profile. |
string |
Not Specified |
|
||||||
vdom |
Virtual domains. Virtual domain name. |
string |
Maximum length: 79 |
|
||||||
schedule |
Schedule name. |
string |
Not Specified |
|
||||||
cors-allow-origin |
Value for Access-Control-Allow-Origin on API responses. Avoid using '*' if possible. |
string |
Not Specified |
|
||||||
peer-auth |
Enable/disable peer authentication. |
option |
- |
disable |
||||||
|
|
|||||||||
peer-group |
Peer group name. |
string |
Not Specified |
|
config trusthost
Parameter |
Description |
Type |
Size |
Default |
||||||
---|---|---|---|---|---|---|---|---|---|---|
type |
Trusthost type. |
option |
- |
ipv4-trusthost |
||||||
|
|
|||||||||
ipv4-trusthost |
IPv4 trusted host address. |
ipv4-classnet |
Not Specified |
0.0.0.0 0.0.0.0 |
||||||
ipv6-trusthost |
IPv6 trusted host address. |
ipv6-prefix |
Not Specified |
::/0 |