OpenapiRealms
Get realm TOTP configuration and statistics
Retrieves the TOTP configuration for a realm along with statistics about TOTP adoption including total users, enabled users, disabled users, and enablement rate. Requires 'settings.view' permission.
GET
Retrieves the TOTP configuration for a realm along with statistics about TOTP adoption including total users, enabled users, disabled users, and enablement rate. Requires 'settings.view' permission.
bearer_authheader
AuthorizationBearer <token>realmId*stringRealm ID
Realm TOTP configuration retrieved
application/json- response
enabled*booleanforceEnabled*booleanstatistics*curl -X GET 'https://example.com/api/realms/string/config/totp'Example Response
{
"enabled": true,
"forceEnabled": true,
"statistics": {
"enablementRate": 0.1,
"totalUsers": 0,
"totpDisabledUsers": 0,
"totpEnabledUsers": 0
}
}