---
title: "POST /v1/{+name}:impersonateMutation"
method: POST
path: "/v1/{+name}:impersonateMutation"
tags: ["projects"]
---

# POST /v1/{+name}:impersonateMutation

`POST /v1/{+name}:impersonateMutation`

Impersonate a mutation defined on a Firebase SQL Connect connector. It grants the admin SDK access to mutations defined in the given connector. The caller can choose to impersonate a particular Firebase Auth user, or skip @auth completely.

## Path parameters

- `name` string, required

## Request body

- ImpersonateRequest — The Impersonate request to Firebase SQL Connect.
  - `extensions` GraphqlRequestExtensions — GraphqlRequestExtensions contains additional information of `GraphqlRequest`.
    - `impersonate` Impersonation — Impersonation configures the Firebase Auth context to impersonate.
      - `unauthenticated` boolean — Evaluate the auth policy as an unauthenticated request. Can only be set to true.
      - `authClaims` object — Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. https://firebase.google.com/docs/rules/rules-and-auth For example: a verified user may have auth_claims of {"sub": , "email_verified": true}
      - `includeDebugDetails` boolean — Optional. If set, include debug details in GraphQL error extensions.
  - `variables` object — Optional. Values for GraphQL variables provided in this request.
  - `operationName` string — Required. The name of the GraphQL operation name. Required because all Connector operations must be named. See https://graphql.org/learn/queries/#operation-name.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/firebasedataconnect.md) · [All operations](https://skmtc.net/google/apis/firebasedataconnect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/firebasedataconnect/versions/dda665bc52bd/schema)
