Change password
POST {{baseUrl}}/{{version}}/accounts/change/password
This endpoint allows the user to change their password associated with their account. An authorization is required for this action to be carried out.
Request Body
[{"name"=>"password", "value"=>"MyS3cur3P4ssw0rd", "datatype"=>"string"}, {"name"=>"new_password", "value"=>"MyNewS3cur3P4ssw0rd", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string | A valid JWT token |
RESPONSES
status: OK
{"error":false,"code":200,"message":"Your password has been changed."}