The newest version of Google Identity Toolkit has been released as Google Cloud's Identity Platform and Firebase Authentication. These products include upgraded client SDKs, open source UI libraries, session management and integrated email sending service for forgotten password flows.

Based on your needs, new projects should use either Identity Platform or Firebase Authentication. To migrate an existing project from Identity Toolkit, see the Identity Platform migration guide or Firebase Authentication migration guide.

Relyingparty: deleteAccount

Delete user account.

Request

HTTP request

POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/deleteAccount

Request body

In the request body, supply data with the following structure:

{
  "localId": string
}
Property name Value Description Notes
localId string The local ID of the user.

Response

If successful, this method returns a response body with the following structure:

{
  "kind": "identitytoolkit#DeleteAccountResponse"
}
Property name Value Description Notes
kind string The fixed string "identitytoolkit#DeleteAccountResponse".