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://{api_host}/v1/users/local/admin
COPY
Request Body
LocalAccountPasswordInfo of type(s) application/json
Required
Show optional properties
{
"newPassword": "string"
}
{
"oldPassword": "string",
"newPassword": "string"
}
string
oldPassword
Optional
The old password of the local account
string
newPassword
Required
The new 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
{
"errorCode": "string",
"arguments": [
"string"
],
"context": {
"context": "string"
},
"message": "string",
"remediationMessage": "string",
"cause": [
{
"type": "string",
"message": "string"
}
],
"nestedErrors": [
"ErrorResponse Object"
],
"referenceToken": "string"
}
string
errorCode
Optional
errorCode
array of string
arguments
Optional
arguments
object
context
Optional
context
string
message
Optional
message
string
remediationMessage
Optional
remediationMessage
string
referenceToken
Optional
referenceToken