DELETE /user/{user_key}/password
Delete User Password
DELETE
/user/{user_key}/password
Reset a user's password to a new random temporary value.
Generates a new random 8-character hex password, hashes it, updates the
User document with reset_password=True, and returns the plain-text
temporary password in detail.temp_psw. The user must change it on next
login. Used by admins to unlock accounts when users forget their password.
Emits: (direct transaction — no event class)
Required scope: org:user:write
Authorizations
OAuth2PasswordBearer
password Flow
Token URL
"/api/auth"Scopes:
"admin"User can access and edit users and system settings"library"User can access and edit products"production"User can access and edit production plans"operator"User can access the operator panel and make production declarations
Parameters
Path Parameters
user_key*
Type
Requiredstring
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}