Verify MFA passcode
PATCH
/me/mfa/verify
const url = 'https://example.com/me/mfa/verify';const options = { method: 'PATCH', headers: {'Content-Type': 'application/json'}, body: '{"code":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url https://example.com/me/mfa/verify \ --header 'Content-Type: application/json' \ --data '{ "code": "example" }'Request Body required
Section titled “Request Body required ” Media type application/json
object
code
required
string
Example generated
{ "code": "example"}Responses
Section titled “ Responses ” Media type application/json
object
token
required
string
auth_state
required
string
Example
{ "auth_state": "mfa_setup"}