---
title: "POST /setProjectConfig"
method: POST
path: "/setProjectConfig"
tags: ["relyingparty"]
---

# POST /setProjectConfig

`POST /setProjectConfig`

Set project configuration.

## Request body

- IdentitytoolkitRelyingpartySetProjectConfigRequest — Request to set the project configuration.
  - `legacyResetPasswordTemplate` EmailTemplate — Template for an email template.
    - `body` string — Email body.
    - `subject` string — Subject of the email.
    - `replyTo` string — Reply-to address.
    - `format` string — Email body format.
    - `from` string — From address of the email.
    - `fromDisplayName` string — From display name.
  - `changeEmailTemplate` EmailTemplate — Template for an email template.
    - `body` string — Email body.
    - `subject` string — Subject of the email.
    - `replyTo` string — Reply-to address.
    - `format` string — Email body format.
    - `from` string — From address of the email.
    - `fromDisplayName` string — From display name.
  - `apiKey` string — Browser API key, needed when making http request to Apiary.
  - `delegatedProjectNumber` string, int64 — GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
  - `verifyEmailTemplate` EmailTemplate — Template for an email template.
    - `body` string — Email body.
    - `subject` string — Subject of the email.
    - `replyTo` string — Reply-to address.
    - `format` string — Email body format.
    - `from` string — From address of the email.
    - `fromDisplayName` string — From display name.
  - `authorizedDomains` string[] — Authorized domains for widget redirect.
  - `enableAnonymousUser` boolean — Whether to enable anonymous user.
  - `idpConfig` IdpConfig[] — Oauth2 provider configuration.
    - `provider` string — OAuth2 provider.
    - `enabled` boolean — Whether this IDP is enabled.
    - `experimentPercent` integer — Percent of users who will be prompted/redirected federated login for this IDP.
    - `whitelistedAudiences` string[] — Whitelisted client IDs for audience check.
    - `clientId` string — OAuth2 client ID.
    - `secret` string — OAuth2 client secret.
  - `useEmailSending` boolean — Whether to use email sending provided by Firebear.
  - `allowPasswordUser` boolean — Whether to allow password user sign in or sign up.
  - `resetPasswordTemplate` EmailTemplate — Template for an email template.
    - `body` string — Email body.
    - `subject` string — Subject of the email.
    - `replyTo` string — Reply-to address.
    - `format` string — Email body format.
    - `from` string — From address of the email.
    - `fromDisplayName` string — From display name.

## Response `200`

Successful response

---

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