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
Account → Update Preferences
AI-generatedOverview
This node interacts with the Appwrite API to update user account preferences. It is useful for scenarios where you want to programmatically change user settings such as theme, language, or other customizable options stored as JSON. For example, you can automate updating user preferences based on user actions or external triggers in your workflow.
Use Case Examples
- Updating a user's theme to dark mode and language to English by providing a JSON object with these preferences.
- Automating preference changes for multiple users in bulk workflows.
Properties
| Name | Meaning |
|---|---|
| Preferences | User preferences as a JSON object to update account settings, e.g., theme or language. |
Output
JSON
json- The JSON response from the Appwrite API after updating the account preferences, containing the updated user data or status.
Dependencies
- Requires an Appwrite API key credential with endpoint, project ID, and API key for authentication.
Troubleshooting
- Common issues include invalid JSON format in preferences, which will cause API errors. Ensure the JSON is well-formed.
- Authentication errors if the API key or project ID is incorrect or missing.
- API rate limits or network issues may cause request failures; retry logic is implemented but persistent failures should be checked.
Links
- Appwrite Account Update Preferences API - Official documentation for updating user account preferences via Appwrite API.