The newest version of Google Identity Toolkit has been released as Firebase Authentication. It includes upgraded client SDKs, open source UI libraries, session management and integrated email sending service for forgotten password flows.

New projects should use Firebase Authentication. To migrate an existing project from Identity Toolkit to Firebase Authentication, see the 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".