user: changePassword

Namespace: microsoft.graph

Enable the user to update their password. Any user can update their password without belonging to any administrator role.


One of the following permissions is required to call this API. To learn more, including how to choose permissions, see Permissions.

Permission type Permissions (from least to most privileged)
Delegated (work or school account) Directory.AccessAsUser.All
Delegated (personal Microsoft account) Not supported.
Application Not supported.

HTTP request

POST /me/changePassword

Request headers

Header Value
Authorization Bearer {token}. Required.
Content-type application/json. Required.

Request body

In the request body, provide a JSON object with the following parameters.

Parameter Type Description
currentPassword String Your current password.
newPassword String Your new password.


If successful, this method returns a 204 No Content response code.


The following example shows a request to update your own password.


Content-type: application/json

    "currentPassword": "xWwvJ]6NMw+bWH-d",
    "newPassword": "0eM85N54wFxWwvJ]"


HTTP/1.1 204 No Content

See also