post https://example.com/ums/v2/users/credentials/validate
Validate user credentials
This API can be used in order to validate the username and password are in a correct format before calling the create user API.
If the credentials are valid the success field will be true.
The API also returns the password strength.
The minimum score is determined by an environment variable.
Request Body Parameters:
Parameter | Type | Mandatory | Description | Example |
---|---|---|---|---|
username | string | true | user's username. If the credential type is OTP, should be a valid phone (An E.164 formatted phone number e.g +12345678901) | |
password | string | true | ||
credentialType | string | false | Values:PASSWORD |
This API is public.