![](/images/new-backgrounds/1140215/140215115x1.webp)
General format of command URL
Every configuration can be set through URL with POST method by administrators only. <general format>
URL[?[name=value][&name=value]……]
<method>
POST
<authorized user> root
System configuration URL
URL: |
| ||
|
|
|
|
NAME |
| VALUE | DESCRIPTION |
|
|
|
|
host |
| <text string shorter than 15 | system name |
|
| characters> |
|
|
|
|
|
method |
| keep | keep date and time unchanged |
|
|
|
|
|
| auto | use NTP server to synchronize |
|
|
|
|
|
| manu | directly adjust date and time |
|
|
|
|
date |
| <yy/mm/dd> | year, month and date separated by |
|
|
| slash |
|
|
|
|
time |
| <hh:mm:ss> | hour, minute and second separated |
|
|
| by colon |
|
|
|
|
ntp |
| <domain name or IP address> | NTP server |
|
|
|
|
zone |
| GMT±<n>:00 | time zone, n ranged from 0 to 12 |
|
|
|
|
Security configuration URL
NAME | VALUE |
|
|
| DESCRIPTION | |
|
|
|
|
|
|
|
rootpass | <text | string | shorter | than | 15 | change root password |
| characters> |
|
|
|
| |
|
|
|
|
|
|
|
username | <text | string | shorter | than | 15 | add new user |
| characters> |
|
|
|
| |
|
|
|
|
|
|
|
userpass | <text | string | shorter | than | 15 | new user's password |
| characters> |
|
|
|
| |
|
|
|
|
|
|
|
ioallowed | <not required> |
|
| allow user to control DO | ||
|
|
|
|
| ||
ptzallowed | <not required> |
|
| allow user to view PT scanner panel | ||
|
|
|
|
|
|
|
deluser | <text | string | shorter | than | 15 | Existing user name |
|
|
|
| 57 |
|
|