POST
/v1/mgmt/tests/generate/otp
Generate an OTP verification code for a test user.
This endpoint is used to generate an OTP verification code for a test user. You can define whether this is sent via email or sms.
Once you generate the OTP code, you must verify the OTP code via verify OTP email or verify OTP sms
See Also
- See OTP Authentication for details about implementing OTP.
- See Create a user with the
test
flag set to true to set it as a test user. - See Manage Test Users for more information on test users.
Endpoint Authentication
Use authorization bearer header with the following format:
Authorization: Bearer \<ProjectId:ManagementKey\>
Authorization
Authorization
RequiredBearer <token>
< Project ID >:< Management Key > as bearer
In: header
Request Body
loginId
string
deliveryMethod
string
loginOptions
object
Status code | Description |
---|---|
200 | OK |
Was this helpful?