PUT
/
User
/
mfa
/
{userId}
curl --request PUT \
  --url https://api-sandbox.payabli.com/api/User/mfa/{userId} \
  --header 'Content-Type: application/json' \
  --header 'requestToken: <api-key>' \
  --data '{
  "mfa": true,
  "mfaMode": 0
}'
{
  "responseText": "Success",
  "isSuccess": true
}

Authorizations

requestToken
string
header
required

Most endpoints require an organization token. Some endpoints require an application token, and those endpoints are noted.

Path Parameters

userId
integer
required

User Identifier

Body

MfaData object to modify
mfa
boolean
mfaMode
integer
Example:

0

Response

200 - application/json
Success
isSuccess
boolean

Boolean indicating whether the operation was successful. A true value indicates success. A false value indicates failure.

Example:

true

responseText
string | null

Response text for operation: 'Success' or 'Declined'.

Example:

"Success"

Was this page helpful?