Actions181
- Account Actions
- Get Account
- Create Account
- Update Email
- Update Name
- Update Password
- Update Phone
- Update Status
- Get Preferences
- Update Preferences
- List Sessions
- Delete Sessions
- Get Session
- Update Session
- Delete Session
- Create Anonymous Session
- Create Email/Password Session
- Create Magic URL Session
- Create OAuth2 Session
- Create Phone Session
- Create Session from Token
- Create JWT
- Create Magic URL
- Create Phone Token
- Create Email Verification
- Update Email Verification
- Create Phone Verification
- Update Phone Verification
- Create Password Recovery
- Update Password Recovery
- Create Recovery
- Update Recovery
- Update MFA
- Create MFA Authenticator
- Update MFA Authenticator
- Delete MFA Authenticator
- Create MFA Challenge
- Update MFA Challenge
- Attribute Actions
- Avatars Actions
- Collection Actions
- Database Actions
- Document Actions
- Functions Actions
- Index Actions
- Locale Actions
- Messaging Actions
- Sites Actions
- Storage Actions
- Teams Actions
- Users Actions
Users → Update User
AI-generatedOverview
This node interacts with the Appwrite API to update user information. Specifically, the 'Update User' operation under the 'Users' resource allows modifying user details such as the user's name. This is useful in scenarios where user profile information needs to be updated programmatically, for example, updating a user's display name in an application after a profile edit.
Use Case Examples
- Updating a user's name after they submit a profile update form.
- Changing user details in bulk via an automated workflow.
Properties
| Name | Meaning |
|---|---|
| User ID | The unique identifier of the user to update, required to specify which user record to modify. |
| Name | The new name to assign to the user, used to update the user's display name. |
Output
JSON
userId- The ID of the updated user.name- The updated name of the user.
Dependencies
- Appwrite API endpoint, project ID, and API key credentials are required to authenticate and interact with the Appwrite service.
Troubleshooting
- Common issues include providing an invalid or missing User ID, which will cause the update operation to fail.
- Errors may occur if the API key or project credentials are incorrect or expired, resulting in authentication failures.
- If the 'Name' field is empty or invalid, the update might not apply as expected.