Update Appliance Password

Update Appliance Password

Update the appliance password.

Request
URI
POST
https://{api_host}/appliance/settings/access/password
COPY
Request Body
UpdatePasswordSpec of type(s) application/json
Optional
{
    "username": "string",
    "password": "string",
    "new_password": "string"
}
string
username
Required

Appliance username.
The user for which the password will be changed.
For now this parameter is not taken into account.

string
password
Required

Current password for appliance user.

string As ^(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*[ !\"#$%&'()*+,-.\\/\\\\:;<=>?@[\\]^_`{|}~\"])[a-zA-Z0-9 !\"#$%&'()*+,-.\\/\\\\:;<=>?@[\\]^_`{|}~\"]{8,}$
new_password
Required

New password for the appliance user.

    Requirements:
  • at least 8 characters long
  • with minimum one small letter
  • with minimum one capital letter
  • with minimum one number
  • with minimum one special character
  • differs from the last five passwords

Authentication
This operation uses the following authentication methods.
Responses
204

Appliance password was updated.

Operation doesn't return any data structure

400

Bad request - the server could not understand the request due to invalid syntax or invalid request body content

Returns ResponseError of type(s) application/json
{
    "error_code": "string",
    "message": "string",
    "op_id": "string"
}
string
error_code
Optional

error_code

string
message
Optional

message

string As uuid As uuid
op_id
Optional

op_id


401

Unauthorized - the client must authenticate itself to get the requested response

Operation doesn't return any data structure

403

Forbidden - not sufficient access rights to fulfill the request

Returns ResponseError of type(s) application/json
{
    "error_code": "string",
    "message": "string",
    "op_id": "string"
}
string
error_code
Optional

error_code

string
message
Optional

message

string As uuid As uuid
op_id
Optional

op_id


500

Internal server error - unexpected condition prevents fulfilling the request

Returns ResponseError of type(s) application/json
{
    "error_code": "string",
    "message": "string",
    "op_id": "string"
}
string
error_code
Optional

error_code

string
message
Optional

message

string As uuid As uuid
op_id
Optional

op_id