Endpoint

/v1/session/change-password

POST

Change the password for the logged in user.

Parameters

This resource has no parameters.

Request

Schema

{
  "description": "password_change",
  "type": "object",
  "properties": {
    "old_password": {
      "description": "The current password",
      "type": "string",
      "format": "password"
    },
    "new_password": {
      "description": "The new password",
      "type": "string",
      "format": "password"
    }
  }
}

Response

Codes

Code Description
200 Return value on success