Update another user's profile info
Last updated
Last updated
This action will update the account information of a user, with administrative privileges, by running a firebase-admin instance on Bubble's backend.
The ID of the user you want to update.
The profile name of the user, associated with the account.
The URL of the profile picture for the user. This profile picture is stored directly on Firebase Authentication, and not on Firebase Storage.
The name or ID of the collection where user's should be stored in. A document will be created with the same ID of the newly created user account.
When you create a document on Firestore, you must inform which fields and which content each will have on it's structure, in JSON format. This input allows you to set as many fields as you want.
For each field you must specify the "key" and the "value" that will be stored. For instance, you might want to store a "status" for the new user, of "active", to control access to your app. You'd need to define the "key" = "status" and the "value" = "active".
For each key/value pair you define and provide a value on the Fields list, you must provide the same key, but with the type of the value, on the Field Types input. That allows the plugin to turn the texts being fed into the plugin into corresponding values on the JSON structure sent to Firestore.
If the number of Fields and Field Types don't match, the action will result in an error.
This action returns no values, as the update operation on firebase-admin returns no information about the updated document.
The users phone number, that must be provided in the , which means a number without spaces and with a plus sign on front of the country code at the beginning (e.g. +14155552671).
Since a new document is being created, you can store data in it the same way it is done to any .
See the to see which types are currently supported by the plugin and how to define them.