Retrieve user MFA status

Request

Retrieves the Multi-Factor Authentication (MFA) status of a user with a specified ID.

Security
SecretApiKey or JWT
Path
idstring, <= 50 characters^[@~\-\.\w]+$required

ID of the resource.

curl -i -X GET \
  'https://www.rebilly.com/_mock/catalog/all/users/{id}/mfa' \
  -H 'REB-APIKEY: YOUR_API_KEY_HERE'

Responses

User MFA status retrieved.

Bodyapplication/json
statusstring

Status of Multi-Factor Authentication (MFA) enrollment.

Enum:"active""inactive"
typestring or null

Type of MFA enrollment. Type duo cannot be updated or deleted. If you need to reset your Duo MFA, Contact support.

Enum:"duo""otp"null
lastAuthTimestring or null, (date-time)read-only

Date and time when MFA verification is most recently passed. To disable MFA, no more than 10 minutes must elapse between this value and the request to disable MFA.

Response
{ "status": "active", "type": "duo", "lastAuthTime": "2019-08-24T14:15:22Z", "_links": [ {} ] }