mittwald icon

mittwald

Interact with mittwald mStudio API

Actions100

Overview

This node interacts with the mittwald mStudio API to set database users for a specific app installation. It allows you to assign or update which users have access to a particular database within an app installation. This is useful in scenarios where you manage multiple apps and databases and need to programmatically control user permissions or access rights.

Practical examples include:

  • Automating user access management when provisioning new app installations.
  • Synchronizing database user assignments based on external user management systems.
  • Updating database user lists as part of deployment or maintenance workflows.

Properties

Name Meaning
App Installation Id The unique identifier of the app installation for which database users are being set.
Database Id The unique identifier of the database within the app installation.
Database User Ids A JSON object representing the list or structure of database user IDs to assign. This should be valid JSON specifying the users to be set for the database.

Output

The node outputs JSON data reflecting the response from the mittwald mStudio API after setting the database users. This typically includes confirmation of the updated user assignments or any relevant status information returned by the API.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authenticating with the mittwald mStudio API.
  • The node uses the base URL https://api.mittwald.de for API requests.
  • Proper configuration of the API authentication credential in n8n is necessary.

Troubleshooting

  • Invalid JSON in Database User Ids: Since the databaseUserIds property expects JSON, providing malformed JSON will cause errors. Ensure the input is valid JSON.
  • Authentication Errors: If the API key credential is missing or invalid, the node will fail to authenticate. Verify that the API key is correctly configured.
  • Resource or Operation Mismatch: Make sure the resource is set to "App" and operation to "App Set Database Users" to use this functionality.
  • API Response Errors: If the API returns errors (e.g., invalid app installation ID or database ID), verify that these IDs are correct and exist in the mittwald system.

Links and References

Discussion