Generates OTP

post

/oam/services/rest/auth/api/v1/mfa/createOTP

Generate OTP code for provided user, stores the OTP code for validation, and send using provided delivery channel. Configuration details can be found in OAM Admin Guide - Configuring the Adaptive Authentication Plug-in in the Oracle Access Management Console

Request

Supported Media Types
Body ()
Create OTP request
Root Schema : CreateOTPRequest
Type: object
Show Source

Response

Supported Media Types

200 Response

Successful
Body ()
Root Schema : CreateOTPResponse
Type: object
Show Source

401 Response

Unauthorized

404 Response

Requested entity not found

422 Response

Unprocessable Entity
Body ()
Root Schema : CreateOTPResponse
Type: object
Show Source

424 Response

Failed Dependency
Body ()
Root Schema : CreateOTPResponse
Type: object
Show Source

500 Response

Internal Server Error
Body ()
Root Schema : CreateOTPResponse
Type: object
Show Source