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 → Delete User
AI-generatedOverview
This node interacts with the Appwrite API to manage users, specifically supporting operations like deleting a user. It is useful in scenarios where automated user management is required, such as removing users from a system based on certain triggers or workflows. For example, it can be used to delete a user account when a user requests account deletion or when cleaning up inactive accounts.
Use Case Examples
- Deleting a user by their User ID to automate account removal processes.
- Integrating with a user management system to handle user lifecycle events.
Properties
| Name | Meaning |
|---|---|
| User ID | The ID of the user to be deleted, required for identifying which user to remove. |
Output
JSON
json- The JSON response from the Appwrite API after attempting to delete the user, typically containing success or error information.
Dependencies
- Requires an Appwrite API key credential for authentication to the Appwrite service.
Troubleshooting
- Ensure the User ID provided is valid and exists in the Appwrite system to avoid errors.
- Check that the API key and project ID credentials are correctly configured and have sufficient permissions to delete users.
- Common errors include authentication failures, invalid user ID, or network issues. Verify credentials and network connectivity if errors occur.
Links
- Appwrite Users API - Delete User - Official documentation for deleting a user using the Appwrite API.