Update Local User Password

Update Local User Password

Update the password for local account only if the old password is correct, or if user configures the local account for the first time

Request
URI
PATCH
https://sfo-vcf01.rainpole.io/v1/users/local/admin
COPY
Request Body

Local user password details

LocalAccountPasswordInfo of type(s) application/json
Required

Show optional properties

{
    "newPassword": "string"
}
{
    "newPassword": "string",
    "oldPassword": "string"
}
string
newPassword
Required

The new password of the local account

string
oldPassword
Optional

The old password of the local account

Responses
204

No content

Operation doesn't return any data structure

500

Internal server error

Returns ErrorResponse of type(s) application/json
{
    "arguments": [
        "string"
    ],
    "cause": [
        {
            "message": "string",
            "type": "string"
        }
    ],
    "context": {
        "context": "string"
    },
    "errorCode": "string",
    "message": "string",
    "nestedErrors": [
        "ErrorResponse Object"
    ],
    "referenceToken": "string",
    "remediationMessage": "string"
}
array of string
arguments
Optional

arguments

array of ErrorCause
cause
Optional

cause

object
context
Optional

context

string
errorCode
Optional

errorCode

string
message
Optional

message

nestedErrors
Optional

nestedErrors

string
referenceToken
Optional

referenceToken

string
remediationMessage
Optional

remediationMessage