HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation deletes all sessions for a specified user in the HumHub platform. It is useful for administrators or automation workflows that need to invalidate or clear user sessions, for example, when a user is deactivated or needs to be logged out from all devices.

Use Case Examples

  1. Deleting all sessions for a user by specifying their user ID to ensure they are logged out from all active sessions.
  2. Automating session cleanup for users who have been flagged for security reasons.

Properties

Name Meaning
Authentication The method of authentication to use for the API request, either Basic Auth or JWT Token.
ID The ID of the user whose sessions are to be deleted.

Output

JSON

  • `` - The response from the HumHub API after deleting the user's sessions.

Dependencies

  • HumHub API with either Basic Auth or JWT Token credentials

Troubleshooting

  • Ensure the user ID provided is valid and exists in the HumHub system to avoid errors.
  • Authentication errors may occur if the credentials are incorrect or expired; verify the API key or token.
  • API rate limits or permissions might prevent session deletion; check user permissions and API limits.

Links

  • HumHub API Documentation - Official API documentation for HumHub, useful for understanding endpoints and authentication.

Discussion