Skip to main content
Updates a user’s password in Firebase Authentication using the Admin SDK.

Endpoint

POST https://{region}-{project}.cloudfunctions.net/update_password

Request body

The current source implementation of update_password does not expose documented request body parameters. The function updates Firebase Authentication only — no Firestore fields are modified when changing a password. Consult the backend implementation for the exact uid and password fields required when this function is fully wired.

Example

curl -X POST https://{region}-{project}.cloudfunctions.net/update_password \
  -H "Content-Type: application/json" \
  -d '{
    "data": {
      "uid": "abc123xyz",
      "password": "NewSecurePass456!"
    }
  }'

Response

message
string
Result description.
status
number
200 on success, 400 on error.
data
object
Success (200):
{
  "message": "Usuario: Password Actualizado!",
  "status": 200,
  "data": { "update": true }
}
Error (400):
{
  "message": "Usuario: Password No Actualizado!!",
  "status": 400,
  "data": {
    "update": false,
    "error": {}
  }
}
This function updates Firebase Authentication only. No Firestore documents are modified when changing a password.

Build docs developers (and LLMs) love