Change Password (v2.0)
POST/sdwan/v2.0/api/accounts/password/change
Allows a user to change a password.
Request
- application/json
Body
Password change details
oldPassword string
The old password. Max length = 1000.
password stringrequired
The new password. Max length = 1000.
repeatPassword stringrequired
Repeat the new password. Max length = 1000.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
oldPassword string
The old password. Max length = 1000.
password stringrequired
The new password. Max length = 1000.
repeatPassword stringrequired
Repeat the new password. Max length = 1000.
{
"oldPassword": "string",
"password": "string",
"repeatPassword": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "ACCOUNT_INVALID_PASSWORD_CHANGE"
},
{
"code": "ACCOUNT_INVALID_OLD_PASSWORD"
}
]
}
}
Loading...