Authentifizierung
Passwörter zurücksetzen
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)
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.
Body of PUT /rest/employees/passwords — sets one password for a whole group of employees.
Response-Body
application/json
application/json
application/json
curl -X PUT "https://example.com/employees/passwords" \ -H "Content-Type: application/json" \ -d '{ "password": "stringst", "all": true }'{ "message": "string", "count": 0}