Skip to content

Change the authenticated customer's password​

POST
/rest/v1/customer/me/password

Ends every other session of the customer: all refresh tokens except those of the session this access token belongs to (its sid claim) are deleted, so the calling device stays signed in and the customer's other devices must sign in again. An access token issued before the sid claim existed cannot name its session, so every session ends, the caller's included. Access tokens already issued stay valid until they expire.

Request Body​

application/json
JSON
{
  
"currentPassword": "string",
  
"newPassword": "string"
}

Responses​

Password changed successfully

Playground​

Body

Samples​

Powered by VitePress OpenAPI