3.10.4 Security
Getting access setting info
Getting information on System settings access settings.
URL: | https://{{ip_addr}}/api/v1/maintenance/security |
HTTP method: | GET |
Response code: | Standard HTTP response code, treating syntactic errors. |
Response data: | { "data": { "useWebPassword": true } } |
Access setting
Set different access passwords for the web interface and system settings.
URL: | https://{{ip_addr}}/api/v1/maintenance/security |
HTTP method: | PUT |
Request body: | { "useWebPassword": true } |
Response code: | Standard HTTP response code, treating syntactic errors. |
Response data: | { "data": { "useWebPassword": true } } |
Getting System settings access settings
URL: | https://{{ip_addr}}/api/v1/maintenance/security/settings/access |
HTTP method: | GET |
Response code: | Standard HTTP response code, treating syntactic errors.
|
Response data: | { "data": { "accessSettingsPasswordType": 1 } } |
Set the System settings access
URL: | https://{{ip_addr}}/api/v1/maintenance/security/settings/access |
HTTP method: | PUT |
Request body: | { "accessSettingsPasswordType": "<integer>", "password": "<string>" } |
Response code: | Standard HTTP response code, treating syntactic errors. |
Response data: | { "data": { "accessSettingsPasswordType": 1, "password": "test" } } |
Set the administrator access password
URL: | https://{{ip_addr}}/api/v1/maintenance/security/settings/admin |
HTTP method: | PUT
|
Request body: | { "password": "<string>" } Caution Make sure that the password meets the minimum password setting requirements, refer to Security. |
Response code: | Standard HTTP response code, treating syntactic errors. |
Response data: | { "data": { "password": "Test12345" } } |