Skip to main content

unusedOrgRecoveryCodes

Returns the count of unused recovery codes for an organization. Used by the trust-policy UI to show "10 codes remaining" or "no codes generated yet" without exposing the codes themselves.

unusedOrgRecoveryCodes(
orgID: String!
): Int!

Arguments

unusedOrgRecoveryCodes.orgID ● String! non-null scalar

Keycloak organization alias.

Type

Int scalar

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.