mittwald icon

mittwald

Interact with mittwald mStudio API

Actions100

Overview

This node operation creates a new SFTP user within a specified project on the Mittwald mStudio platform. It is useful for automating the management of SFTP access, allowing users to programmatically add SFTP users with defined permissions and directories. Typical use cases include provisioning SFTP accounts for developers or clients, setting access levels, and managing authentication methods without manual intervention.

Properties

Name Meaning
Project Id The unique identifier of the project for which the SFTP user will be created.
Access Level The permission level granted to the SFTP user. Options: "Read" (read-only access), "Full" (full access).
Authentication The method used for authenticating the SFTP user. Options typically include "password" or "public-keys".
Description A textual description of the SFTP user, useful for identification or notes.
Directories JSON array specifying directories the SFTP user can access.
Expires At Optional expiration date/time for the SFTP user's access.

Output

The node outputs JSON data representing the newly created SFTP user details as returned by the Mittwald mStudio API. This typically includes identifiers, access settings, authentication details, and metadata about the user. There is no indication that binary data is output by this node.

Dependencies

  • Requires an API key credential for authenticating requests to the Mittwald mStudio API.
  • The node communicates with the Mittwald API endpoint at https://api.mittwald.de.
  • Proper configuration of the API credential in n8n is necessary for successful operation.

Troubleshooting

  • Common Issues:

    • Invalid or missing Project Id may cause the API to reject the request.
    • Incorrect authentication method or malformed directories JSON can lead to errors.
    • Expired or invalid API credentials will prevent successful communication with the API.
  • Error Messages:

    • Authorization errors indicate issues with the API key or permissions.
    • Validation errors often relate to required fields like Project Id, Authentication, or Directories being missing or incorrectly formatted.
  • Resolutions:

    • Verify all required properties are correctly set and formatted.
    • Ensure the API key credential is valid and has sufficient permissions.
    • Confirm the JSON structure for directories is valid and properly parsed.

Links and References

Discussion