Change web interface Admin password
Change web interface Admin password.
- Valid characters with codes from 0x20 to 0x7E
- The minimum length is 1 character, the maximum is 32
Query Parameters
- oldPassword string required
Possible values:
non-empty
and<= 32 characters
, Value must match regular expression^[\\x20-\\x7E]{1,32}$
The old password for web admin login in clear text
- newPassword string required
Possible values:
non-empty
and<= 32 characters
, Value must match regular expression^[\\x20-\\x7E]{1,32}$
The new password for web admin login in clear text
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error object
Describes the base error user might get
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringDescribes the parameter that did not pass a validation
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
Please log in
- application/json
- Schema
- Example (from schema)
- Example
Schema
error object
Describes the base error user might get
code stringPossible values: [
invalid_authentication
,permission_denied
,not_valid
,system_error
]Error code
message stringError message
data object
Did not pass validation parameters. Can be represented as an object, which can include field names, arrays, query parameters etc.
param stringDescribes the parameter that did not pass a validation
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Log In"
}
}