curl --location --request POST '/api/auth/change-password' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"newPassword": "string",
"currentPassword": "string",
"revokeOtherSessions": "string"
}'
{
"token": "string",
"user": {
"id": "string",
"email": "user@example.com",
"name": "string",
"image": "http://example.com",
"emailVerified": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}