Google Identity Platform Accounts API

User account operations

GitHub OpenAPI
Business capability
Identity & Access Management BC-620.20

Operations 6

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/accounts:revokeToken Revoke a user's identity provider token · Revoke token accounts #
Ask an LLM
“How do I revoke a user's Apple ID token from Identity Platform?”
“Can I revoke an authorization code instead of an access token?”
Tell an agent destructive · confirm first
Revoke {tokenType} {token} for provider {providerId} using ID token {idToken}.
Revoke the {tokenType} {token} from {providerId} for tenant {tenantId} with ID token {idToken}.
POST /v2/accounts/mfaEnrollment:withdraw Remove a second factor from an account · Withdraw mfaEnrollment #
Ask an LLM
“How do I remove one enrolled second factor from a user's account?”
“Can I unenroll a phone or TOTP second factor?”
Tell an agent destructive · confirm first
Withdraw MFA enrollment {mfaEnrollmentId} for user {idToken}.
Unenroll second factor {mfaEnrollmentId} from {idToken} in tenant {tenantId}.
POST /v2/accounts/mfaEnrollment:finalize Complete a second factor enrollment · Finalize mfaEnrollment #
Ask an LLM
“How do I finish enrolling a TOTP or phone second factor?”
“Can I give a display name to a newly enrolled second factor?”
Tell an agent
Finalize enrollment of {totpVerificationInfo} for user {idToken}.
Complete the {phoneVerificationInfo} second factor enrollment for {idToken} as {displayName}.
POST /v2/accounts/mfaEnrollment:start Start enrolling a second factor · Start mfaEnrollment #
Ask an LLM
“How do I start enrolling a phone or TOTP second factor?”
“Does starting MFA enrollment send an SMS verification code?”
Tell an agent
Start MFA enrollment for user {idToken}.
Begin enrolling a {phoneEnrollmentInfo} second factor for {idToken} in tenant {tenantId}.
POST /v2/accounts/mfaSignIn:finalize Verify an MFA challenge and sign in · Finalize mfaSignIn #
Ask an LLM
“How do I verify a TOTP or phone code and complete multi-factor sign-in?”
“Can I finish a pending sign-in with a second factor code?”
Tell an agent
Finalize MFA sign-in with pending credential {mfaPendingCredential} and code {totpVerificationInfo}.
Complete sign-in for {mfaPendingCredential} using {phoneVerificationInfo} in tenant {tenantId}.
POST /v2/accounts/mfaSignIn:start Send an MFA challenge · Start mfaSignIn #
Ask an LLM
“How do I send a second factor challenge to a user?”
“Can I start an MFA challenge for a specific enrolled second factor?”
Tell an agent
Start an MFA challenge for {mfaPendingCredential} using enrollment {mfaEnrollmentId}.
Send a {phoneSignInInfo} MFA challenge for {mfaPendingCredential} in tenant {tenantId}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/google-identity-platform:google-identity-platform-accounts-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

google-identity-platform-accounts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Identity Toolkit Accounts API
  version: v2
  description: Generated from Google's published Discovery document for Identity Toolkit API (identitytoolkit v2, revision 20261106). 6 operation(s).
  contact:
    name: Google
    url: https://developers.google.com/
  termsOfService: https://developers.google.com/terms
servers:
- url: https://identitytoolkit.googleapis.com
tags:
- name: Accounts
paths:
  /v2/accounts:revokeToken:
    post:
      operationId: identitytoolkit.accounts.revokeToken
      summary: Revoke token accounts
      description: Revokes a user's token from an Identity Provider (IdP). This is done by manually providing an IdP credential, and the token types for revocation. An API key is required in the request in order to identify the Google Cloud project.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2RevokeTokenRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2RevokeTokenResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - Accounts
  /v2/accounts/mfaEnrollment:withdraw:
    post:
      operationId: identitytoolkit.accounts.mfaEnrollment.withdraw
      summary: Withdraw mfaEnrollment
      description: Revokes one second factor from the enrolled second factors for an account.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2WithdrawMfaRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2WithdrawMfaResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - Accounts
  /v2/accounts/mfaEnrollment:finalize:
    post:
      operationId: identitytoolkit.accounts.mfaEnrollment.finalize
      summary: Finalize mfaEnrollment
      description: Finishes enrolling a second factor for the user.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - Accounts
  /v2/accounts/mfaEnrollment:start:
    post:
      operationId: identitytoolkit.accounts.mfaEnrollment.start
      summary: Start mfaEnrollment
      description: Step one of the MFA enrollment process. In SMS case, this sends an SMS verification code to the user.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - Accounts
  /v2/accounts/mfaSignIn:finalize:
    post:
      operationId: identitytoolkit.accounts.mfaSignIn.finalize
      summary: Finalize mfaSignIn
      description: Verifies the MFA challenge and performs sign-in
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - Accounts
  /v2/accounts/mfaSignIn:start:
    post:
      operationId: identitytoolkit.accounts.mfaSignIn.start
      summary: Start mfaSignIn
      description: Sends the MFA challenge
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaSignInRequest'
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaSignInResponse'
        4XX:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: 'Client error (google.rpc.Status: INVALID_ARGUMENT, PERMISSION_DENIED, NOT_FOUND ...)'
        default:
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GoogleRpcError'
          description: Error response (google.rpc.Status)
      security:
      - oauth2:
        - https://www.googleapis.com/auth/cloud-platform
      - apiKey: []
      tags:
      - Accounts
components:
  schemas:
    GoogleCloudIdentitytoolkitV2RevokeTokenResponse:
      type: object
      properties: {}
      description: Response message for RevokeToken. Empty for now.
    GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo:
      properties:
        verificationCode:
          description: User-entered verification code.
          type: string
        sessionInfo:
          description: An opaque string that represents the enrollment session.
          type: string
      description: Mfa request info specific to TOTP auth for FinalizeMfa.
      type: object
    GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentResponse:
      type: object
      properties:
        phoneAuthInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo'
          description: Auxiliary auth info specific to phone auth.
        idToken:
          description: ID token updated to reflect MFA enrollment.
          type: string
        refreshToken:
          description: Refresh token updated to reflect MFA enrollment.
          type: string
        totpAuthInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo'
          description: Auxiliary auth info specific to TOTP auth.
      description: FinalizeMfaEnrollment response.
    GoogleCloudIdentitytoolkitV2RevokeTokenRequest:
      description: Request message for RevokeToken.
      properties:
        tenantId:
          description: The ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project.
          type: string
        providerId:
          type: string
          description: Required. The idp provider for the token. Currently only supports Apple Idp. The format should be "apple.com".
        token:
          description: Required. The token to be revoked. If an authorization_code is passed in, the API will first exchange the code for access token and then revoke the token exchanged.
          type: string
        idToken:
          description: Required. A valid Identity Platform ID token to link the account. If there was a successful token revocation request on the account and no tokens are generated after the revocation, the duplicate requests will be ignored and returned immediately.
          type: string
        tokenType:
          description: Required. The type of the token to be revoked.
          enum:
          - TOKEN_TYPE_UNSPECIFIED
          - REFRESH_TOKEN
          - ACCESS_TOKEN
          - CODE
          type: string
        redirectUri:
          description: The redirect URI provided in the initial authorization request made by the client to the IDP. The URI must use the HTTPS protocol, include a domain name, and can't contain an IP address or localhost. Required if token_type is CODE.
          type: string
      type: object
    GoogleCloudIdentitytoolkitV2FinalizeMfaEnrollmentRequest:
      properties:
        totpVerificationInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentRequestInfo'
          description: Verification information for TOTP.
        phoneVerificationInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo'
          description: Verification info to authorize sending an SMS for phone verification.
        tenantId:
          description: The ID of the Identity Platform tenant that the user enrolling MFA belongs to. If not set, the user belongs to the default Identity Platform project.
          type: string
        idToken:
          type: string
          description: Required. ID token.
        displayName:
          type: string
          description: Display name which is entered by users to distinguish between different second factors with same type or different type.
      type: object
      description: Finishes enrolling a second factor for the user.
    GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo:
      description: Phone Verification info for a StartMfa response.
      type: object
      properties:
        sessionInfo:
          type: string
          description: An opaque string that represents the enrollment session.
    GoogleCloudIdentitytoolkitV2StartMfaSignInRequest:
      properties:
        mfaEnrollmentId:
          type: string
          description: Required. MFA enrollment id from the user's list of current MFA enrollments.
        phoneSignInInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo'
          description: Verification info to authorize sending an SMS for phone verification.
        mfaPendingCredential:
          type: string
          description: Required. Pending credential from first factor sign-in.
        tenantId:
          description: The ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project.
          type: string
      type: object
      description: Starts multi-factor sign-in by sending the multi-factor auth challenge.
    GoogleCloudIdentitytoolkitV2WithdrawMfaRequest:
      properties:
        mfaEnrollmentId:
          type: string
          description: Required. MFA enrollment id from a current MFA enrollment.
        idToken:
          type: string
          description: Required. User's ID token.
        tenantId:
          description: The ID of the Identity Platform tenant that the user unenrolling MFA belongs to. If not set, the user belongs to the default Identity Platform project.
          type: string
      type: object
      description: Withdraws MFA.
    GoogleCloudIdentitytoolkitV2StartMfaEnrollmentResponse:
      properties:
        totpSessionInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo'
          description: Enrollment response info specific to TOTP auth.
        phoneSessionInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo'
          description: Verification info to authorize sending an SMS for phone verification.
      description: StartMfaEnrollment response.
      type: object
    GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo:
      description: Mfa request info specific to TOTP auth for StartMfa.
      properties: {}
      type: object
    GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo:
      description: App Verification info for a StartMfa request.
      type: object
      properties:
        safetyNetToken:
          type: string
          description: Android only. Used to assert application identity in place of a recaptcha token. A SafetyNet Token can be generated via the [SafetyNet Android Attestation API](https://developer.android.com/training/safetynet/attestation.html), with the Base64 encoding of the `phone_number` field as the nonce.
        recaptchaVersion:
          enum:
          - RECAPTCHA_VERSION_UNSPECIFIED
          - RECAPTCHA_ENTERPRISE
          description: The reCAPTCHA version of the reCAPTCHA token in the captcha_response. Required when reCAPTCHA Enterprise is enabled.
          type: string
        iosSecret:
          description: iOS only. Secret delivered to iOS app via APNS.
          type: string
        phoneNumber:
          type: string
          description: Required for enrollment. Phone number to be enrolled as MFA.
        clientType:
          enum:
          - CLIENT_TYPE_UNSPECIFIED
          - CLIENT_TYPE_WEB
          - CLIENT_TYPE_ANDROID
          - CLIENT_TYPE_IOS
          description: The client type, web, android or ios. Required when reCAPTCHA Enterprise is enabled.
          type: string
        captchaResponse:
          description: The reCAPTCHA Enterprise token provided by the reCAPTCHA client-side integration. Required when reCAPTCHA enterprise is enabled.
          type: string
        recaptchaToken:
          description: Web only. Recaptcha solution.
          type: string
        autoRetrievalInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2AutoRetrievalInfo'
          description: Android only. Used by Google Play Services to identify the app for auto-retrieval.
        iosReceipt:
          type: string
          description: iOS only. Receipt of successful app token validation with APNS.
        playIntegrityToken:
          description: Android only. Used to assert application identity in place of a recaptcha token (or safety net token). A Play Integrity Token can be generated via the [PlayIntegrity API] (https://developer.android.com/google/play/integrity) with applying SHA256 to the `phone_number` field as the nonce.
          type: string
    GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo:
      properties:
        verificationCode:
          type: string
          description: User-entered verification code.
      type: object
      description: TOTP verification info for FinalizeMfaSignInRequest.
    GoogleCloudIdentitytoolkitV2StartMfaSignInResponse:
      description: StartMfaSignIn response.
      type: object
      properties:
        phoneResponseInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaPhoneResponseInfo'
          description: MultiFactor sign-in session information specific to SMS-type second factors. Along with the one-time code retrieved from the sent SMS, the contents of this session information should be passed to FinalizeMfaSignIn to complete the sign in.
    GoogleCloudIdentitytoolkitV2FinalizeMfaSignInResponse:
      properties:
        refreshToken:
          description: Refresh token for the authenticated user.
          type: string
        idToken:
          description: ID token for the authenticated user.
          type: string
        phoneAuthInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo'
          description: Extra phone auth info, including android verification proof.
      description: FinalizeMfaSignIn response.
      type: object
    GoogleCloudIdentitytoolkitV2WithdrawMfaResponse:
      description: Withdraws MultiFactorAuth response.
      type: object
      properties:
        refreshToken:
          type: string
          description: Refresh token updated to reflect removal of the second factor.
        idToken:
          description: ID token updated to reflect removal of the second factor.
          type: string
    GoogleRpcError:
      type: object
      description: The error envelope every Google API returns.
      properties:
        error:
          type: object
          properties:
            code:
              type: integer
            message:
              type: string
            status:
              type: string
            details:
              type: array
              items:
                type: object
    GoogleCloudIdentitytoolkitV2StartMfaEnrollmentRequest:
      properties:
        tenantId:
          type: string
          description: The ID of the Identity Platform tenant that the user enrolling MFA belongs to. If not set, the user belongs to the default Identity Platform project.
        totpEnrollmentInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentRequestInfo'
          description: Sign-in info specific to TOTP auth.
        idToken:
          description: Required. User's ID token.
          type: string
        phoneEnrollmentInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2StartMfaPhoneRequestInfo'
          description: Verification info to authorize sending an SMS for phone verification.
      type: object
      description: Sends MFA enrollment verification SMS for a user.
    GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo:
      type: object
      properties:
        sessionInfo:
          description: An opaque string that represents the enrollment session.
          type: string
        code:
          description: User-entered verification code.
          type: string
        androidVerificationProof:
          type: string
          description: Android only. Uses for "instant" phone number verification though GmsCore.
        phoneNumber:
          type: string
          description: Required if Android verification proof is presented.
      description: Phone Verification info for a FinalizeMfa request.
    GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneResponseInfo:
      description: Phone Verification info for a FinalizeMfa response.
      properties:
        phoneNumber:
          description: For Android verification proof.
          type: string
        androidVerificationProof:
          type: string
          description: Android only. Long-lived replacement for valid code tied to android device.
        androidVerificationProofExpireTime:
          description: Android only. Expiration time of verification proof in seconds.
          format: google-datetime
          type: string
      type: object
    GoogleCloudIdentitytoolkitV2AutoRetrievalInfo:
      properties:
        appSignatureHash:
          description: The Android app's signature hash for Google Play Service's SMS Retriever API.
          type: string
      type: object
      description: The information required to auto-retrieve an SMS.
    GoogleCloudIdentitytoolkitV2FinalizeMfaTotpEnrollmentResponseInfo:
      description: Mfa response info specific to TOTP auth for FinalizeMfa.
      type: object
      properties: {}
    GoogleCloudIdentitytoolkitV2StartMfaTotpEnrollmentResponseInfo:
      type: object
      properties:
        periodSec:
          format: int32
          description: Duration in seconds at which the verification code will change.
          type: integer
        finalizeEnrollmentTime:
          format: google-datetime
          type: string
          description: The time by which the enrollment must finish.
        hashingAlgorithm:
          type: string
          description: The hashing algorithm used to generate the verification code.
        sessionInfo:
          description: An encoded string that represents the enrollment session.
          type: string
        sharedSecretKey:
          description: A base 32 encoded string that represents the shared TOTP secret. The base 32 encoding is the one specified by [RFC4648#section-6](https://datatracker.ietf.org/doc/html/rfc4648#section-6). (This is the same as the base 32 encoding from [RFC3548#section-5](https://datatracker.ietf.org/doc/html/rfc3548#section-5).)
          type: string
        verificationCodeLength:
          type: integer
          format: int32
          description: The length of the verification code that needs to be generated.
      description: Mfa response info specific to TOTP auth for StartMfa.
    GoogleCloudIdentitytoolkitV2FinalizeMfaSignInRequest:
      properties:
        totpVerificationInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2MfaTotpSignInRequestInfo'
          description: Proof of completion of the TOTP based MFA challenge.
        mfaEnrollmentId:
          type: string
          description: The MFA enrollment ID from the user's list of current MFA enrollments.
        tenantId:
          description: The ID of the Identity Platform tenant the user is signing in to. If not set, the user will sign in to the default Identity Platform project.
          type: string
        phoneVerificationInfo:
          $ref: '#/components/schemas/GoogleCloudIdentitytoolkitV2FinalizeMfaPhoneRequestInfo'
          description: Proof of completion of the SMS based MFA challenge.
        mfaPendingCredential:
          type: string
          description: Required. Pending credential from first factor sign-in.
      type: object
      description: Finalizes sign-in by verifying MFA challenge.
  securitySchemes:
    apiKey:
      type: apiKey
      in: query
      name: key
      description: API key; accepted by methods that do not need user data.
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://accounts.google.com/o/oauth2/auth
          tokenUrl: https://oauth2.googleapis.com/token
          scopes:
            https://www.googleapis.com/auth/firebase: View and administer all your Firebase data and settings
            https://www.googleapis.com/auth/cloud-platform: See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account.
externalDocs:
  url: https://cloud.google.com/identity-platform
x-provenance:
  method: harvested
  publisher: Google
  source: https://identitytoolkit.googleapis.com/$discovery/rest?version=v2
  note: converted by discovery-to-openapi.py from Google's Discovery document (revision 20261106)