Change web interface Admin password
Change web interface Admin password.
- Valid chars 0x20..0x7E
- The minimum length is 1 character, the maximum is 32
Query Parameters
- oldPassword string required
Possible values:
non-empty
and<= 10 characters
, Value must match regular expressiononly numeric characters are valid
The old password for web admin login
- newPassword string required
Possible values:
non-empty
and<= 10 characters
, Value must match regular expressiononly numeric characters are valid
The new password for web admin login
- 200
- 400
- 401
OK
- Wrong/Missing parameter
- Wrong password
- application/json
- Schema
- Example (from schema)
Schema
error object
object containing info about error
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 stringextended info on error
{
"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
object containing info about error
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 stringextended info on error
{
"error": {
"code": "not_valid",
"message": "Data validation error",
"data": {
"param": "must be an string"
}
}
}
{
"error": {
"code": "invalid_authentication",
"message": "Log In"
}
}