🚀 Since v4.37.0
Description:
Request information about the user's mfa status
Precondition:
Authenticated user.
Postcondition:
None.
Further Information:
None.
643 matches
100 actions
DRACOON
100 actions
Infrastructure/DRACOON
Request information about the user's mfa status
Authenticated user.
None.
None.
{
"type": "object",
"properties": {
"X-Sds-Auth-Token": {
"type": "string"
}
},
"additionalProperties": false
}{
"type": "object",
"description": "Contains information about the user's MFA status",
"required": [
"mfaEnforced",
"mfaSetups"
],
"properties": {
"mfaEnforced": {
"type": "boolean",
"description": "Determines whether multi-factor authentication is enforced"
},
"mfaSetups": {
"type": "array",
"description": "Information about the second factor authentication method setup by the user",
"items": {
"type": "object",
"description": "Contains the save-to-send-out information of a MFA-setup",
"required": [
"createdAt",
"id",
"mfaType",
"name"
],
"properties": {
"createdAt": {
"type": "string",
"format": "date-time",
"description": "Creation date"
},
"id": {
"type": "integer",
"format": "int64",
"description": "ID"
},
"mfaType": {
"type": "string",
"description": "Type of second factor authentication",
"enum": [
"TOTP",
"EMERGENCY",
"U2F"
]
},
"name": {
"type": "string",
"description": "A name to identify the MFA setup by the user. Default is MFA-type followed by a number"
}
}
}
}
}
}