Note The expiresIn
field in the response indicates the number of seconds after which the current code will expire.After expiration, you must re-hit the API to obtain a new code, as the old one will no longer be valid. domainId
is optional and can only be used with Microsoft domains to fetch the OTP for the admin account of the given domain.