mittwald icon

mittwald

Interact with mittwald mStudio API

Actions100

Overview

This node operation updates a project membership within a specified project. It allows modifying the role of a member and optionally setting an expiration time for their membership. This is useful in scenarios where project access needs to be managed dynamically, such as changing user permissions or revoking access after a certain date.

Practical examples:

  • Changing a team member's role from "external" to "owner" to grant them full control.
  • Setting an expiration date on a contractor’s project membership to automatically revoke access after contract end.

Properties

Name Meaning
Project Membership Id The unique identifier of the project membership entry that you want to update.
Expires At (Optional) The timestamp indicating when the project membership should expire.
Role The new role assigned to the project member. Options: Notset, Owner, Emailadmin, External

Output

The node outputs JSON data representing the updated project membership details as returned by the API. This typically includes fields such as the membership ID, updated role, expiration time, and possibly metadata about the project membership status.

No binary data output is indicated.

Dependencies

  • Requires an API key credential for authentication with 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 requests.

Troubleshooting

  • Invalid Project Membership Id: If the provided ID does not exist or is malformed, the API will likely return an error. Verify the ID before running the node.
  • Unauthorized / Authentication Errors: Ensure the API key credential is correctly set up and has sufficient permissions.
  • Invalid Role Value: Only the predefined roles ("notset", "owner", "emailadmin", "external") are accepted. Using other values may cause errors.
  • Date Format Issues: The "Expires At" field should be in a valid timestamp format recognized by the API; otherwise, the update might fail or ignore this field.

Links and References

Discussion