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

# POST /setAccountInfo

`POST /setAccountInfo`

Set account info for a user.

## Request body

- IdentitytoolkitRelyingpartySetAccountInfoRequest — Request to set the account information.
  - `password` string — The new password of the user.
  - `deleteProvider` string[] — The IDPs the user request to delete.
  - `captchaChallenge` string — The captcha challenge.
  - `provider` string[] — The associated IDPs of the user.
  - `customAttributes` string — The custom attributes to be set in the user's id token.
  - `validSince` string, int64 — Timestamp in seconds for valid login token.
  - `disableUser` boolean — Whether to disable the user.
  - `photoUrl` string — The photo url of the user.
  - `captchaResponse` string — Response to the captcha.
  - `returnSecureToken` boolean — Whether return sts id token and refresh token instead of gitkit token.
  - `upgradeToFederatedLogin` boolean — Mark the user to upgrade to federated login.
  - `oobCode` string — The out-of-band code of the change email request.
  - `email` string — The email of the user.
  - `localId` string — The local ID of the user.
  - `deleteAttribute` string[] — The attributes users request to delete.
  - `displayName` string — The name of the user.
  - `phoneNumber` string — Privileged caller can update user with specified phone number.
  - `delegatedProjectNumber` string, int64 — GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.
  - `emailVerified` boolean — Mark the email as verified or not.
  - `idToken` string — The GITKit token of the authenticated user.
  - `instanceId` string — Instance id token of the app.
  - `lastLoginAt` string, int64 — Last login timestamp.
  - `createdAt` string, int64 — The timestamp when the account is created.

## 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)
