GoogleCloudIdentitytoolkitAdminV2Tenant

A Tenant contains configuration for the tenant in a multi-tenant project.

AuthenticationGoogle CloudIdentityMulti-TenancyOpenID ConnectSAMLIdentity Federation

Properties

Name Type Description
mobileLinksConfig object Optional. Deprecated. Never launched. Configuration for settings related to univeral links (iOS) and app links (Android).
disableAuth boolean Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.
enableEmailLinkSignin boolean Whether to enable email link user authentication.
client object Options related to how clients making requests on behalf of a project should be configured.
mfaConfig object The tenant-level configuration of MFA options.
displayName string Display name of the tenant.
smsRegionConfig object Configures which regions are enabled for SMS verification code sending.
autodeleteAnonymousUsers boolean Whether anonymous users will be auto-deleted after a period of 30 days.
allowPasswordSignup boolean Whether to allow email/password user authentication.
emailPrivacyConfig object Configuration for settings related to email privacy and public visibility.
hashConfig object Output only. Hash config information of a tenant for display on Pantheon. This can only be displayed on Pantheon to avoid the sensitive information to get accidentally leaked. Only returned in GetTena
enableAnonymousUser boolean Whether to enable anonymous user authentication.
monitoring object Configuration related to monitoring project activity.
recaptchaConfig object The tenant-level reCAPTCHA config.
passwordPolicyConfig object The tenant-level password policy config
testPhoneNumbers object A map of pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded).
name string Output only. Resource name of a tenant. For example: "projects/{project-id}/tenants/{tenant-id}"
inheritance object Specify the settings that the tenant could inherit.
View JSON Schema on GitHub

JSON Schema

google-identity-platform-google-cloud-identitytoolkit-admin-v2-tenant-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/google-identity-platform/json-schema/google-identity-platform-google-cloud-identitytoolkit-admin-v2-tenant-schema.json",
  "title": "GoogleCloudIdentitytoolkitAdminV2Tenant",
  "description": "A Tenant contains configuration for the tenant in a multi-tenant project.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/google-identity-platform-projects-api-openapi.yml#/components/schemas/GoogleCloudIdentitytoolkitAdminV2Tenant",
  "properties": {
    "mobileLinksConfig": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig",
      "description": "Optional. Deprecated. Never launched. Configuration for settings related to univeral links (iOS) and app links (Android)."
    },
    "disableAuth": {
      "description": "Whether authentication is disabled for the tenant. If true, the users under the disabled tenant are not allowed to sign-in. Admins of the disabled tenant are not able to manage its users.",
      "type": "boolean"
    },
    "enableEmailLinkSignin": {
      "type": "boolean",
      "description": "Whether to enable email link user authentication."
    },
    "client": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig",
      "description": "Options related to how clients making requests on behalf of a project should be configured."
    },
    "mfaConfig": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig",
      "description": "The tenant-level configuration of MFA options."
    },
    "displayName": {
      "description": "Display name of the tenant.",
      "type": "string"
    },
    "smsRegionConfig": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig",
      "description": "Configures which regions are enabled for SMS verification code sending."
    },
    "autodeleteAnonymousUsers": {
      "type": "boolean",
      "description": "Whether anonymous users will be auto-deleted after a period of 30 days."
    },
    "allowPasswordSignup": {
      "description": "Whether to allow email/password user authentication.",
      "type": "boolean"
    },
    "emailPrivacyConfig": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig",
      "description": "Configuration for settings related to email privacy and public visibility."
    },
    "hashConfig": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2HashConfig",
      "description": "Output only. Hash config information of a tenant for display on Pantheon. This can only be displayed on Pantheon to avoid the sensitive information to get accidentally leaked. Only returned in GetTenant response to restrict reading of this information. Requires firebaseauth.configs.getHashConfig permission on the agent project for returning this field."
    },
    "enableAnonymousUser": {
      "description": "Whether to enable anonymous user authentication.",
      "type": "boolean"
    },
    "monitoring": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2MonitoringConfig",
      "description": "Configuration related to monitoring project activity."
    },
    "recaptchaConfig": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig",
      "description": "The tenant-level reCAPTCHA config."
    },
    "passwordPolicyConfig": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig",
      "description": "The tenant-level password policy config"
    },
    "testPhoneNumbers": {
      "type": "object",
      "description": "A map of pairs that can be used for MFA. The phone number should be in E.164 format (https://www.itu.int/rec/T-REC-E.164/) and a maximum of 10 pairs can be added (error will be thrown once exceeded).",
      "additionalProperties": {
        "type": "string"
      }
    },
    "name": {
      "readOnly": true,
      "type": "string",
      "description": "Output only. Resource name of a tenant. For example: \"projects/{project-id}/tenants/{tenant-id}\""
    },
    "inheritance": {
      "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2Inheritance",
      "description": "Specify the settings that the tenant could inherit."
    }
  },
  "type": "object",
  "$defs": {
    "GoogleCloudIdentitytoolkitAdminV2AllowByDefault": {
      "type": "object",
      "description": "Defines a policy of allowing every region by default and adding disallowed regions to a disallow list.",
      "properties": {
        "disallowedRegions": {
          "description": "Two letter unicode region codes to disallow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      }
    },
    "GoogleCloudIdentitytoolkitAdminV2AllowlistOnly": {
      "type": "object",
      "properties": {
        "allowedRegions": {
          "description": "Two letter unicode region codes to allow as defined by https://cldr.unicode.org/ The full list of these region codes is here: https://github.com/unicode-cldr/cldr-localenames-full/blob/master/main/en/territories.json",
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "Defines a policy of only allowing regions by explicitly adding them to an allowlist."
    },
    "GoogleCloudIdentitytoolkitAdminV2ClientPermissionConfig": {
      "description": "Options related to how clients making requests on behalf of a tenant should be configured.",
      "type": "object",
      "properties": {
        "permissions": {
          "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2ClientPermissions",
          "description": "Configuration related to restricting a user's ability to affect their account."
        }
      }
    },
    "GoogleCloudIdentitytoolkitAdminV2ClientPermissions": {
      "type": "object",
      "properties": {
        "disabledUserSignup": {
          "description": "When true, end users cannot sign up for a new account on the associated project through any of our API methods",
          "type": "boolean"
        },
        "disabledUserDeletion": {
          "type": "boolean",
          "description": "When true, end users cannot delete their account on the associated project through any of our API methods"
        }
      },
      "description": "Configuration related to restricting a user's ability to affect their account."
    },
    "GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions": {
      "description": "Custom strength options to enforce on user passwords.",
      "properties": {
        "containsNonAlphanumericCharacter": {
          "type": "boolean",
          "description": "The password must contain a non alpha numeric character."
        },
        "minPasswordLength": {
          "type": "integer",
          "description": "Minimum password length. Range from 6 to 30",
          "format": "int32"
        },
        "containsNumericCharacter": {
          "type": "boolean",
          "description": "The password must contain a number."
        },
        "maxPasswordLength": {
          "type": "integer",
          "description": "Maximum password length. No default max length",
          "format": "int32"
        },
        "containsLowercaseCharacter": {
          "description": "The password must contain a lower case character.",
          "type": "boolean"
        },
        "containsUppercaseCharacter": {
          "description": "The password must contain an upper case character.",
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "GoogleCloudIdentitytoolkitAdminV2EmailPrivacyConfig": {
      "properties": {
        "enableImprovedEmailPrivacy": {
          "type": "boolean",
          "description": "Migrates the project to a state of improved email privacy. For example certain error codes are more generic to avoid giving away information on whether the account exists. In addition, this disables certain features that as a side-effect allow user enumeration. Enabling this toggle disables the fetchSignInMethodsForEmail functionality and changing the user's email to an unverified email. It is recommended to remove dependence on this functionality and enable this toggle to improve user privacy."
        }
      },
      "type": "object",
      "description": "Configuration for settings related to email privacy and public visibility. Settings in this config protect against email enumeration, but may make some trade-offs in user-friendliness."
    },
    "GoogleCloudIdentitytoolkitAdminV2HashConfig": {
      "properties": {
        "algorithm": {
          "type": "string",
          "description": "Output only. Different password hash algorithms used in Identity Toolkit.",
          "readOnly": true,
          "enum": [
            "HASH_ALGORITHM_UNSPECIFIED",
            "HMAC_SHA256",
            "HMAC_SHA1",
            "HMAC_MD5",
            "SCRYPT",
            "PBKDF_SHA1",
            "MD5",
            "HMAC_SHA512",
            "SHA1",
            "BCRYPT",
            "PBKDF2_SHA256",
            "SHA256",
            "SHA512",
            "STANDARD_SCRYPT"
          ]
        },
        "saltSeparator": {
          "readOnly": true,
          "description": "Output only. Non-printable character to be inserted between the salt and plain text password in base64.",
          "type": "string"
        },
        "rounds": {
          "type": "integer",
          "readOnly": true,
          "description": "Output only. How many rounds for hash calculation. Used by scrypt and other similar password derivation algorithms.",
          "format": "int32"
        },
        "signerKey": {
          "readOnly": true,
          "type": "string",
          "description": "Output only. Signer key in base64."
        },
        "memoryCost": {
          "description": "Output only. Memory cost for hash calculation. Used by scrypt and other similar password derivation algorithms. See https://tools.ietf.org/html/rfc7914 for explanation of field.",
          "format": "int32",
          "type": "integer",
          "readOnly": true
        }
      },
      "description": "History information of the hash algorithm and key. Different accounts' passwords may be generated by different version.",
      "type": "object"
    },
    "GoogleCloudIdentitytoolkitAdminV2Inheritance": {
      "description": "Settings that the tenants will inherit from project level.",
      "properties": {
        "emailSendingConfig": {
          "type": "boolean",
          "description": "Whether to allow the tenant to inherit custom domains, email templates, and custom SMTP settings. If true, email sent from tenant will follow the project level email sending configurations. If false (by default), emails will go with the default settings with no customizations."
        }
      },
      "type": "object"
    },
    "GoogleCloudIdentitytoolkitAdminV2MobileLinksConfig": {
      "properties": {
        "domain": {
          "description": "Open code in app domain to use for app links and universal links.",
          "enum": [
            "DOMAIN_UNSPECIFIED",
            "FIREBASE_DYNAMIC_LINK_DOMAIN",
            "HOSTING_DOMAIN"
          ],
          "type": "string"
        }
      },
      "description": "Configuration mobile links.",
      "type": "object"
    },
    "GoogleCloudIdentitytoolkitAdminV2MonitoringConfig": {
      "description": "Configuration related to monitoring project activity.",
      "properties": {
        "requestLogging": {
          "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2RequestLogging",
          "description": "Configuration for logging requests made to this project to Stackdriver Logging"
        }
      },
      "type": "object"
    },
    "GoogleCloudIdentitytoolkitAdminV2MultiFactorAuthConfig": {
      "type": "object",
      "description": "Options related to MultiFactor Authentication for the project.",
      "properties": {
        "state": {
          "enum": [
            "STATE_UNSPECIFIED",
            "DISABLED",
            "ENABLED",
            "MANDATORY"
          ],
          "description": "Whether MultiFactor Authentication has been enabled for this project.",
          "type": "string"
        },
        "providerConfigs": {
          "items": {
            "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2ProviderConfig"
          },
          "type": "array",
          "description": "A list of usable second factors for this project along with their configurations. This field does not support phone based MFA, for that use the 'enabled_providers' field."
        },
        "enabledProviders": {
          "type": "array",
          "items": {
            "enum": [
              "PROVIDER_UNSPECIFIED",
              "PHONE_SMS"
            ],
            "type": "string"
          },
          "description": "A list of usable second factors for this project."
        }
      }
    },
    "GoogleCloudIdentitytoolkitAdminV2PasswordPolicyConfig": {
      "properties": {
        "lastUpdateTime": {
          "type": "string",
          "description": "Output only. The last time the password policy on the project was updated.",
          "readOnly": true,
          "format": "google-datetime"
        },
        "passwordPolicyEnforcementState": {
          "description": "Which enforcement mode to use for the password policy.",
          "enum": [
            "PASSWORD_POLICY_ENFORCEMENT_STATE_UNSPECIFIED",
            "OFF",
            "ENFORCE"
          ],
          "type": "string"
        },
        "passwordPolicyVersions": {
          "description": "Must be of length 1. Contains the strength attributes for the password policy.",
          "type": "array",
          "items": {
            "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion"
          }
        },
        "forceUpgradeOnSignin": {
          "type": "boolean",
          "description": "Users must have a password compliant with the password policy to sign-in."
        }
      },
      "type": "object",
      "description": "The configuration for the password policy on the project."
    },
    "GoogleCloudIdentitytoolkitAdminV2PasswordPolicyVersion": {
      "type": "object",
      "properties": {
        "schemaVersion": {
          "description": "Output only. schema version number for the password policy",
          "type": "integer",
          "format": "int32",
          "readOnly": true
        },
        "customStrengthOptions": {
          "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2CustomStrengthOptions",
          "description": "The custom strength options enforced by the password policy."
        }
      },
      "description": "The strength attributes for the password policy on the project."
    },
    "GoogleCloudIdentitytoolkitAdminV2ProviderConfig": {
      "type": "object",
      "properties": {
        "state": {
          "enum": [
            "MFA_STATE_UNSPECIFIED",
            "DISABLED",
            "ENABLED",
            "MANDATORY"
          ],
          "description": "Describes the state of the MultiFactor Authentication type.",
          "type": "string"
        },
        "totpProviderConfig": {
          "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig",
          "description": "TOTP MFA provider config for this project."
        }
      },
      "description": "ProviderConfig describes the supported MFA providers along with their configurations."
    },
    "GoogleCloudIdentitytoolkitAdminV2RecaptchaConfig": {
      "type": "object",
      "description": "The reCAPTCHA Enterprise integration config.",
      "properties": {
        "useAccountDefender": {
          "type": "boolean",
          "description": "Whether to use the account defender for reCAPTCHA assessment. Defaults to `false`."
        },
        "useSmsTollFraudProtection": {
          "type": "boolean",
          "description": "Whether to use the rCE sms toll fraud protection risk score for reCAPTCHA phone provider. Can only be true when the phone_enforcement_state is AUDIT or ENFORCE."
        },
        "tollFraudManagedRules": {
          "description": "The managed rules for the authentication action based on reCAPTCHA toll fraud risk scores. Toll fraud managed rules will only take effect when the phone_enforcement_state is AUDIT or ENFORCE and use_sms_toll_fraud_protection is true.",
          "items": {
            "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule"
          },
          "type": "array"
        },
        "managedRules": {
          "items": {
            "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule"
          },
          "description": "The managed rules for authentication action based on reCAPTCHA scores. The rules are shared across providers for a given tenant project.",
          "type": "array"
        },
        "recaptchaKeys": {
          "items": {
            "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2RecaptchaKey"
          },
          "type": "array",
          "description": "The reCAPTCHA keys."
        },
        "useSmsBotScore": {
          "description": "Whether to use the rCE bot score for reCAPTCHA phone provider. Can only be true when the phone_enforcement_state is AUDIT or ENFORCE.",
          "type": "boolean"
        },
        "emailPasswordEnforcementState": {
          "type": "string",
          "enum": [
            "RECAPTCHA_PROVIDER_ENFORCEMENT_STATE_UNSPECIFIED",
            "OFF",
            "AUDIT",
            "ENFORCE"
          ],
          "description": "The reCAPTCHA config for email/password provider, containing the enforcement status. The email/password provider contains all email related user flows protected by reCAPTCHA."
        },
        "phoneEnforcementState": {
          "enum": [
            "RECAPTCHA_PROVIDER_ENFORCEMENT_STATE_UNSPECIFIED",
            "OFF",
            "AUDIT",
            "ENFORCE"
          ],
          "type": "string",
          "description": "The reCAPTCHA config for phone provider, containing the enforcement status. The phone provider contains all SMS related user flows protected by reCAPTCHA."
        }
      }
    },
    "GoogleCloudIdentitytoolkitAdminV2RecaptchaKey": {
      "type": "object",
      "description": "The reCAPTCHA key config. reCAPTCHA Enterprise offers different keys for different client platforms.",
      "properties": {
        "key": {
          "type": "string",
          "description": "The reCAPTCHA Enterprise key resource name, e.g. \"projects/{project}/keys/{key}\""
        },
        "type": {
          "enum": [
            "CLIENT_TYPE_UNSPECIFIED",
            "WEB",
            "IOS",
            "ANDROID"
          ],
          "description": "The client's platform type.",
          "type": "string"
        }
      }
    },
    "GoogleCloudIdentitytoolkitAdminV2RecaptchaManagedRule": {
      "properties": {
        "endScore": {
          "type": "number",
          "format": "float",
          "description": "The end score (inclusive) of the score range for an action. Must be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the riskiest request (likely a bot), whereas 1.0 indicates the safest request (likely a human). See https://cloud.google.com/recaptcha-enterprise/docs/interpret-assessment."
        },
        "action": {
          "type": "string",
          "description": "The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score].",
          "enum": [
            "RECAPTCHA_ACTION_UNSPECIFIED",
            "BLOCK"
          ]
        }
      },
      "type": "object",
      "description": "The config for a reCAPTCHA managed rule. Models a single interval [start_score, end_score]. The start_score is implicit. It is either the closest smaller end_score (if one is available) or 0. Intervals in aggregate span [0, 1] without overlapping."
    },
    "GoogleCloudIdentitytoolkitAdminV2RecaptchaTollFraudManagedRule": {
      "type": "object",
      "properties": {
        "startScore": {
          "format": "float",
          "type": "number",
          "description": "The start score (inclusive) for an action. Must be a value between 0.0 and 1.0, at 11 discrete values; e.g. 0, 0.1, 0.2, 0.3, ... 0.9, 1.0. A score of 0.0 indicates the safest request (likely legitimate), whereas 1.0 indicates the riskiest request (likely toll fraud). See https://cloud.google.com/recaptcha-enterprise/docs/sms-fraud-detection#create-assessment-sms."
        },
        "action": {
          "type": "string",
          "enum": [
            "RECAPTCHA_ACTION_UNSPECIFIED",
            "BLOCK"
          ],
          "description": "The action taken if the reCAPTCHA score of a request is within the interval [start_score, end_score]."
        }
      },
      "description": "The config for a reCAPTCHA toll fraud assessment managed rule. Models a single interval [start_score, end_score]. The end_score is implicit. It is either the closest smaller end_score (if one is available) or 0. Intervals in aggregate span [0, 1] without overlapping."
    },
    "GoogleCloudIdentitytoolkitAdminV2RequestLogging": {
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Whether logging is enabled for this project or not."
        }
      },
      "type": "object",
      "description": "Configuration for logging requests made to this project to Stackdriver Logging"
    },
    "GoogleCloudIdentitytoolkitAdminV2SmsRegionConfig": {
      "description": "Configures the regions where users are allowed to send verification SMS for the project or tenant. This is based on the calling code of the destination phone number.",
      "properties": {
        "allowByDefault": {
          "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2AllowByDefault",
          "description": "A policy of allowing SMS to every region by default and adding disallowed regions to a disallow list."
        },
        "allowlistOnly": {
          "$ref": "#/$defs/GoogleCloudIdentitytoolkitAdminV2AllowlistOnly",
          "description": "A policy of only allowing regions by explicitly adding them to an allowlist."
        }
      },
      "type": "object"
    },
    "GoogleCloudIdentitytoolkitAdminV2TotpMfaProviderConfig": {
      "description": "TotpMFAProviderConfig represents the TOTP based MFA provider.",
      "type": "object",
      "properties": {
        "adjacentIntervals": {
          "type": "integer",
          "description": "The allowed number of adjacent intervals that will be used for verification to avoid clock skew.",
          "format": "int32"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/google-identity-platform-google-cloud-identitytoolkit-admin-v2-tenant"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.