User
Change a user password, authenticating by providing the old password and a sudo or access token (in 2FA is disabled)
AuthorizationBearer <token>
A valid sudo token (proof of presence) can be obtained via the /2fa/{method}/verify endpoints. It has a 5 minutes validity period.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://authentication.eniris.be/user/password/old-password" \ -H "Content-Type: application/json" \ -d '{ "oldPassword": "string", "newPassword": "stringst" }'