Actions31
- User API Actions
- Organization API Actions
- Allowlist API Actions
- Domain API Actions
- Session API Actions
- Invitation API Actions
User API → Verify Password
AI-generatedSummary
Verify a user's password by providing their User ID and the password.
Inputs
- userId (required) — The ID of the user to verify.
- password (required) — The password for the user.
Output shape
a boolean indicating if the password is valid or invalid
Returns true if the password matches the stored value for the user, otherwise returns false.
Examples
Example 1: Check if the password for a specific user is correct
Set 'User ID' to the desired user's ID and 'Password' to the user's password.