mittwald icon

mittwald

Interact with mittwald mStudio API

Actions409

Overview

This node interacts with the mittwald mStudio API to manage user sessions. Specifically, the "User Terminate Session" operation allows terminating a user session by invalidating a session token. This is useful in scenarios where you want to forcibly log out a user or revoke access associated with a particular session token for security or administrative reasons.

Practical examples include:

  • Logging out a user remotely after suspicious activity.
  • Ending sessions during maintenance or policy enforcement.
  • Revoking access tokens when a user changes their password or permissions.

Properties

Name Meaning
Token Id The unique identifier of the session token that you want to terminate. This is required.

Output

The node outputs JSON data representing the result of the session termination request. Typically, this will confirm whether the session was successfully terminated or provide error details if the operation failed.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authentication with the mittwald mStudio API.
  • The node sends requests to the base URL: https://api.mittwald.de.
  • Proper configuration of the API key credential within n8n is necessary for successful communication.

Troubleshooting

  • Invalid Token Id: If the provided token ID does not exist or is malformed, the API may return an error indicating the session could not be found. Verify the token ID before retrying.
  • Authentication Errors: Missing or incorrect API credentials will cause authentication failures. Ensure the API key credential is correctly set up and has sufficient permissions.
  • Network Issues: Connectivity problems can prevent the node from reaching the API endpoint. Check network settings and firewall rules.
  • API Rate Limits: Excessive requests might lead to rate limiting. Implement retries with backoff if needed.

Links and References

Discussion