email, mobile, code, or national_id), or via a single unified identifier field.
Upon a successful password change, the user’s password hash is updated, all temporary OTP and PIN codes are cleared, and active OAuth access tokens are revoked for security.
Endpoint
admin (or an authenticated user with edit users permission).
Required Headers
Flexible User Lookup: You can identify the target user either by providing explicit fields (
email, mobile, code, national_id) OR by passing a single identifier parameter that automatically matches across all four fields. At least one identifier must be provided.Request Body
string
required
The new password for the user account (minimum 6 characters).
string
Optional confirmation that must match
password when provided.string
Unified search string. Matches against
email, mobile, code, or national_id.string
The user’s email address.
string
The user’s mobile / phone number.
string
The user’s student or system code (e.g.,
STU-1024).string
The user’s national identity number (e.g., 14-digit Egyptian national ID).

