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 Session
AI-generatedOverview
This node interacts with the Appwrite API to manage user sessions, specifically allowing the deletion of a user session. It is useful in scenarios where you need to programmatically terminate a specific session of a user, such as for security purposes or session management in an application.
Use Case Examples
- Deleting a specific session of a user to log them out remotely.
- Managing user sessions by removing inactive or suspicious sessions.
Properties
| Name | Meaning |
|---|---|
| User ID | The ID of the user whose session is to be deleted. |
| Session ID | The ID of the session to delete for the specified user. |
Output
JSON
success- Indicates whether the session deletion was successful.message- Additional information or error message related to the session deletion.
Dependencies
- Appwrite API key credential for authentication
Troubleshooting
- Ensure the User ID and Session ID are correct and exist in the Appwrite system.
- Check that the API key credential has sufficient permissions to delete user sessions.
- Common errors include authorization failures or invalid session IDs, which can be resolved by verifying credentials and input parameters.
Links
- Appwrite Users API - Delete Session - Official documentation for deleting a user session using the Appwrite API.