action dracoon_get_mfa_status_for_user {
label: "Request information about the user's mfa status"
description: "
🚀 Since v4.37.0
\n\n### Description:\nRequest information about the user's mfa status\n\n### Precondition:\nAuthenticated user.\n\n### Postcondition:\nNone.\n\n### Further Information:\nNone."
provider: dracoon
method: GET
path: "/v4/user/account/mfa"
encoding: json
input: {
type: "object"
properties: {
"X-Sds-Auth-Token": {
type: "string"
}
}
additionalProperties: false
}
output: {
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"
}
}
}
}
}
}
}