Authentifizierung
Passwort ändern
AuthentifizierungBearer <token>
Bearer-Token, erhalten über den Login-Endpunkt (POST /rest/login).
Ort: header
Request-Body
application/json
TypeScript-Definitionen
TypeScript-Typ für request body.
Response-Body
application/json
application/json
application/json
curl -X PUT "https://example.com/login" \ -H "Content-Type: application/json" \ -d '{ "current_password": "string", "password": "stringst" }'{ "message": "Password changed."}Aktueller Benutzer GET
Zurück
Passwörter zurücksetzen PUT
Sets a new password for employees and creates a reset_passwords entry so users see a "change password" dialog on next login. Body: { password: string, all: bool } all=true → reset all employees except the requesting user all=false → reset only employees without a password (hash IS NULL)