Update user password

Update user password

Update password of a local user. Any user can change his own password. Admin has permission to change any user password.

Request
URI
PUT
https://vrni.example.com/api/ni/settings/users/password
COPY
Request Body

User details

UserUpdateRequest of type(s) application/json
Required
{
    "username": "admin@local",
    "new_password": "password"
}
string
username
Optional

username

string
new_password
Optional

new_password

Authentication
This operation uses the following authentication methods.
Responses
200

Success

Operation doesn't return any data structure

400

Bad Request

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


401

Unauthorized

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


403

Forbidden

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


404

Not Found

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


500

Internal Error

Returns ApiError of type(s) application/json
{
    "code": 0,
    "message": "string",
    "details": [
        {
            "code": 0,
            "message": "string",
            "target": [
                "string"
            ]
        }
    ]
}
integer As int32 As int32
code
Optional

code

string
message
Optional

message

array of ErrorDetail
details
Optional

details


Settings Operations
POST
Add new SNMP destination profile
POST
Add Backup Config
POST
Add Ip Tag
POST
Add Restore Config
POST
Add Vidm User
POST
Add Vidm User Group
POST
Create Subnet Mapping
POST
Create User Defined Event
DELETE
Delete An existing SNMP destination profile
DELETE
Delete Backup Config
DELETE
Delete Restore Config
DELETE
Delete Subnet Mapping
DELETE
Delete User
DELETE
Delete User Defined Event
DELETE
Delete User Group
DELETE
Delete Vidm Configuration
POST
Disable Backup
POST
Disable User Defined Event
POST
Disable Vidm
POST
Enable Backup
POST
Enable User Defined Event
POST
Enable Vidm
GET
Get details Of An existing SNMP destination profile
GET
Get All User Defined Events
GET
Get Backup Config
GET
Get Backup Status Report
GET
Get Ip Tag
GET
Get Ip Tag Ids
GET
Get Restore Config
GET
Get Restore Status Report
GET
Get Subnet Mappings
GET
Get User
GET
Get User Defined Event
GET
Get User Group
GET
Get User Groups
GET
Get Users
GET
Get Vidm Configuration
GET
List the configured SNMP destination profiles
POST
Migrate event subscriptions To other SNMP destination profiles
POST
Remove Ip Tag
POST
Save Vidm Configuration
POST
Send Test trap To SNMP destination profile
PUT
Update An existing SNMP destination profile
PUT
Update user password
PUT
Update Backup Config
PUT
Update Subnet Mapping
PUT
Update User Defined Event
PUT
Update Vidm Configuration
PUT
Update Vidm User Group Role
PUT
Update Vidm User Role